.confm-form-wrap {
    max-width: 720px;
    margin: 0 auto
}

.confm-form-section {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 28px;
    margin-bottom: 20px
}

.confm-form-section h3 {
    margin: 0 0 20px;
    color: #2B579A;
    font-size: 18px;
    border-bottom: 2px solid #f0f4f8;
    padding-bottom: 10px
}

.confm-field {
    margin-bottom: 16px
}

.confm-field label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    font-size: 14px;
    color: #333
}

.confm-field input,
.confm-field select,
.confm-field textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 15px;
    transition: border .2s
}

.confm-field input:focus,
.confm-field select:focus {
    border-color: #2B579A;
    outline: none;
    box-shadow: 0 0 0 3px rgba(43, 87, 154, .1)
}

.confm-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px
}

@media(max-width:600px) {
    .confm-row {
        grid-template-columns: 1fr
    }
}

.req {
    color: #e74c3c
}

.confm-submit {
    background: #2B579A;
    color: #fff;
    border: none;
    padding: 14px 40px;
    font-size: 17px;
    border-radius: 10px;
    cursor: pointer;
    width: 100%;
    font-weight: 700;
    transition: background .2s
}

.confm-submit:hover {
    background: #1e3f6f
}

.confm-success {
    text-align: center;
    padding: 40px;
    background: #f0faf0;
    border: 2px solid #27ae60;
    border-radius: 12px
}

.confm-success-icon {
    font-size: 48px;
    margin-bottom: 10px
}

.confm-error {
    background: #fdecea;
    color: #c0392b;
    padding: 12px;
    border-radius: 8px;
    margin-top: 10px
}

.confm-field-hint {
    font-size: 12px;
    color: #888;
    margin: 4px 0 0;
    font-style: italic
}

.confm-field input[type="file"] {
    padding: 8px;
    background: #fafbfc;
    cursor: pointer
}

.confm-submit.is-loading {
    opacity: .7;
    pointer-events: none
}

.confm-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, .3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: confm-spin .6s linear infinite;
    vertical-align: middle;
    margin-right: 8px
}

@keyframes confm-spin {
    to {
        transform: rotate(360deg)
    }
}

.confm-coauthor-row {
    background: #f8f9fb;
    border: 1px solid #e8ecf0;
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 8px
}

.confm-add-coauthor {
    background: none;
    border: 2px dashed #ccc;
    border-radius: 8px;
    padding: 10px 20px;
    color: var(--primary, #2B579A);
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    font-size: 14px;
    transition: all .2s
}

.confm-add-coauthor:hover {
    border-color: #2B579A;
    background: #f0f4f8
}

.confm-remove-coauthor {
    background: #e74c3c;
    color: #fff;
    border: none;
    border-radius: 6px;
    width: 36px;
    height: 36px;
    font-size: 16px;
    cursor: pointer;
    flex-shrink: 0;
    transition: background .2s
}

.confm-remove-coauthor:hover {
    background: #c0392b
}

.confm-info-box {
    background: #eef4fb;
    border-left: 4px solid #2B579A;
    padding: 12px 16px;
    border-radius: 0 8px 8px 0;
    margin: 10px 0;
    font-size: 14px
}

.confm-program-section {
    margin-bottom: 30px
}

.confm-program-section h3 {
    color: #2B579A;
    border-bottom: 2px solid #2B579A;
    padding-bottom: 8px
}

.confm-program-item {
    padding: 12px 16px;
    border-left: 3px solid #2B579A;
    margin: 8px 0;
    background: #fafbfc;
    border-radius: 0 8px 8px 0
}

.confm-program-title {
    font-weight: 700;
    font-size: 15px
}

.confm-program-author {
    font-size: 13px;
    color: #666;
    margin-top: 4px
}

.confm-notice {
    background: #fef9e7;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid #f0c36d
}

.confm-deadlines {
    max-width: 500px
}

.confm-deadline-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 16px;
    border-bottom: 1px solid #eee;
    font-size: 15px
}

.confm-deadline-date {
    font-weight: 700;
    color: #2B579A;
    min-width: 120px
}

.confm-deadline-main {
    background: #2B579A;
    color: #fff;
    border-radius: 8px;
    border: none
}

.confm-deadline-main .confm-deadline-date {
    color: #fff
}

.confm-stats-total {
    font-size: 48px;
    font-weight: 700;
    color: #2B579A;
    text-align: center;
    margin: 20px 0
}

.confm-stats-total small {
    display: block;
    font-size: 16px;
    color: #666;
    font-weight: 400
}

.confm-stats-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 8px 0;
    font-size: 14px
}

.confm-stats-bar span:first-child {
    min-width: 200px
}

.confm-bar {
    flex: 1;
    height: 20px;
    background: #eee;
    border-radius: 10px;
    overflow: hidden
}

.confm-bar-fill {
    height: 100%;
    background: #2B579A;
    border-radius: 10px;
    transition: width .5s
}

/* ── Organization Autocomplete ── */
.confm-org-field {
    position: relative
}

.confm-org-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #ccc;
    border-top: none;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .1);
    z-index: 50;
    max-height: 280px;
    overflow-y: auto;
    display: none
}

.confm-org-item {
    padding: 10px 14px;
    cursor: pointer;
    font-size: 13px;
    line-height: 1.4;
    border-bottom: 1px solid #f0f0f0;
    transition: background .15s
}

.confm-org-item:last-child {
    border-bottom: none
}

.confm-org-item:hover,
.confm-org-item.active {
    background: #eef4fb
}

.confm-org-item strong {
    color: #2B579A;
    font-size: 14px
}

.confm-org-city {
    color: #999;
    font-size: 12px;
    margin-left: 4px
}

/* Edit buttons flex fix */
.confm-edit-buttons {
    display: flex;
    gap: 12px;
}

.confm-edit-buttons .confm-submit {
    width: auto;
}

#confm-edit-save {
    flex: 1;
}

.confm-btn-cancel {
    flex: 0 0 auto;
    background: #999;
}

.confm-btn-cancel:hover {
    background: #777;
}

