﻿/* 교육 신청 CSS */

.edu-page-header {
    background: linear-gradient(135deg, #152f60 0%, #1e4a8a 60%, #2563b0 100%);
    padding: 3.5rem 0 2.5rem;
    margin-bottom: 2.5rem;
    position: relative;
    overflow: hidden;
}

    .edu-page-header::before {
        content: "";
        position: absolute;
        top: -60px;
        right: -60px;
        width: 280px;
        height: 280px;
        border-radius: 50%;
        background: rgba(255,255,255,0.04);
    }

    .edu-page-header::after {
        content: "";
        position: absolute;
        bottom: -80px;
        left: 10%;
        width: 200px;
        height: 200px;
        border-radius: 50%;
        background: rgba(255,255,255,0.03);
    }

    .edu-page-header h1 {
        color: #fff;
        font-size: 2rem;
        font-weight: 700;
        letter-spacing: -0.5px;
        margin-bottom: 0.4rem;
    }

    .edu-page-header p {
        color: rgba(255,255,255,0.72);
        font-size: 0.93rem;
        margin-bottom: 0;
    }

/* 탭 */
.edu-tab-wrap .nav-tabs {
    border-bottom: 2px solid #e2e8f0;
    gap: 4px;
}

    .edu-tab-wrap .nav-tabs .nav-link {
        border: none;
        border-bottom: 3px solid transparent;
        border-radius: 0;
        color: #64748b;
        font-weight: 500;
        font-size: 0.92rem;
        padding: 0.65rem 1.25rem;
        margin-bottom: -2px;
        transition: color 0.18s, border-color 0.18s;
        background: none;
    }

        .edu-tab-wrap .nav-tabs .nav-link:hover {
            color: #152f60;
            border-bottom-color: #a0b8d8;
        }

        .edu-tab-wrap .nav-tabs .nav-link.active {
            color: #152f60;
            font-weight: 700;
            border-bottom-color: #152f60;
        }

.edu-tab-wrap .tab-content {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-top: none;
    border-radius: 0 0 0.75rem 0.75rem;
}

.edu-section-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    font-weight: 700;
    color: #152f60;
    margin-bottom: 1rem;
}

    .edu-section-title .edu-dot {
        width: 8px;
        height: 8px;
        background: #2563b0;
        border-radius: 50%;
        flex-shrink: 0;
    }

.edu-info-card {
    background: #f8fafd;
    border: 1px solid #dde6f3;
    border-left: 4px solid #2563b0;
    border-radius: 0.5rem;
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.5rem;
}

.edu-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem 1.5rem;
}

.edu-info-item {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

    .edu-info-item .edu-label {
        font-size: 0.78rem;
        font-weight: 600;
        color: #2563b0;
        text-transform: uppercase;
        letter-spacing: 0.04em;
    }

    .edu-info-item .edu-val {
        font-size: 0.9rem;
        color: #334155;
    }

.edu-notice-box {
    background: #fff8ed;
    border: 1px solid #fde9b8;
    border-radius: 0.5rem;
    padding: 1rem 1.25rem;
    font-size: 0.85rem;
    color: #7c5a00;
    line-height: 1.7;
}

.edu-step-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

    .edu-step-list li {
        display: flex;
        gap: 0.75rem;
        align-items: flex-start;
        font-size: 0.9rem;
        color: #334155;
        line-height: 1.6;
    }

.edu-step-num {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #152f60;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1px;
}

.edu-service-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.edu-chip {
    background: #eef3fb;
    color: #2563b0;
    border: 1px solid #c9d9f0;
    border-radius: 2rem;
    font-size: 0.8rem;
    font-weight: 500;
    padding: 0.3rem 0.85rem;
}

/* 교육신청 폼 탭 */
.edu-form-section {
    padding: 2rem 2rem 1.5rem;
}

.edu-form-desc {
    background: #f0f5ff;
    border-left: 4px solid #2563b0;
    border-radius: 0 0.4rem 0.4rem 0;
    padding: 0.85rem 1.1rem;
    font-size: 0.88rem;
    color: #334155;
    margin-bottom: 1.75rem;
}

.edu-form-group {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin-bottom: 1.2rem;
}

    .edu-form-group label {
        font-size: 0.82rem;
        font-weight: 600;
        color: #475569;
        display: flex;
        align-items: center;
        gap: 0.35rem;
    }

.edu-required {
    color: #e53e3e;
    font-size: 0.8rem;
}

.edu-form-control {
    border: 1px solid #cbd5e1;
    border-radius: 0.45rem;
    padding: 0.55rem 0.85rem;
    font-size: 0.9rem;
    color: #1e293b;
    background: #fff;
    transition: border-color 0.15s, box-shadow 0.15s;
    width: 100%;
    outline: none;
}

    .edu-form-control:focus {
        border-color: #2563b0;
        box-shadow: 0 0 0 3px rgba(37,99,176,0.12);
    }

    .edu-form-control:disabled,
    .edu-form-control[disabled] {
        background: #f1f5f9;
        color: #64748b;
        cursor: not-allowed;
    }

select.edu-form-control {
    appearance: auto;
}

.edu-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.edu-applicant-row {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

    .edu-applicant-row .edu-form-control {
        flex: 1;
    }

    .edu-applicant-row .edu-count-wrap {
        display: flex;
        align-items: center;
        gap: 0.4rem;
        flex-shrink: 0;
    }

    .edu-applicant-row .edu-count-input {
        width: 4rem;
        text-align: center;
        flex: none;
    }

.edu-applicant-label {
    font-size: 0.88rem;
    color: #475569;
    white-space: nowrap;
}

.edu-hint {
    font-size: 0.76rem;
    color: #94a3b8;
    margin-top: 0.25rem;
}

.edu-divider {
    border: none;
    border-top: 1px solid #e2e8f0;
    margin: 1.5rem 0;
}

.edu-form-actions {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    padding-top: 0.5rem;
}

.edu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.6rem 1.75rem;
    border-radius: 0.45rem;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s, box-shadow 0.15s, transform 0.1s;
    border: none;
    outline: none;
}

.edu-btn-primary {
    background: #152f60;
    color: #fff;
}

    .edu-btn-primary:hover:not(:disabled) {
        background: #1a3d7a;
        box-shadow: 0 4px 12px rgba(21,47,96,0.3);
        transform: translateY(-1px);
    }

    .edu-btn-primary:disabled {
        background: #94a3b8;
        cursor: not-allowed;
    }

.edu-btn-secondary {
    background: #fff;
    color: #475569;
    border: 1px solid #cbd5e1;
}

    .edu-btn-secondary:hover {
        background: #f8fafc;
        border-color: #94a3b8;
    }

/* 반응형 */
@media (max-width: 768px) {
    .edu-info-grid {
        grid-template-columns: 1fr;
    }

    .edu-form-row {
        grid-template-columns: 1fr;
    }

    .edu-applicant-row {
        flex-wrap: wrap;
    }

    .edu-form-section {
        padding: 1.25rem;
    }

    .edu-page-header {
        padding: 2rem 0 1.5rem;
    }
}
/* 교육 신청 CSS */

/* A/S 접수 작성 화면 */
.as-write-page .as-wrapper {
    position: relative;
}

.as-write-page #asplaceholder {
    position: absolute;
    top: 0;
    left: 18px;
    right: 18px;
    z-index: 20;
    margin: 0;
    font-size: 13px;
    line-height: 1.7;
    color: #8a96a8;
    pointer-events: none;
    word-break: keep-all;
}

.as-write-page .as-textbox {
    width: 100%;
    min-height: 220px;
    padding: 20px 10px 10px 10px;
    font-size: 14px;
    line-height: 20px;
    box-sizing: border-box;
}

.as-write-page .as-page-wrap {
    max-width: 1200px;
}

.as-write-page .as-page-title {
    margin: 2rem 0 1.5rem;
}

.as-write-page .as-page-title p {
    margin-bottom: 0;
    color: #5f6875;
    word-break: keep-all;
}

.as-write-page .as-form-panel {
    padding: 1.6rem 1.8rem;
    border: 1px solid #dfe6ef;
    border-radius: 8px;
    box-shadow: 0 16px 36px rgba(18, 38, 63, 0.08);
    background: #fff;
}

.as-write-page .as-form-table {
    margin-bottom: 0;
}

.as-write-page .as-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem 1.25rem;
}

.as-write-page .as-form-item {
    min-width: 0;
}

.as-write-page .as-form-item.as-full {
    grid-column: 1 / -1;
}

.as-write-page .as-form-label {
    display: block;
    margin-bottom: 0.35rem;
    color: #26384d;
    font-size: 14px;
    font-weight: 700;
}

.as-write-page .as-field,
.as-write-page .as-form-table select {
    width: 100%;
    min-height: 38px;
    padding: 0.42rem 0.65rem;
    border: 1px solid #d4dee9;
    border-radius: 6px;
    color: #1f2d3d;
    font-size: 14px;
    background-color: #fbfdff;
    box-sizing: border-box;
    transition: border-color 0.16s ease, box-shadow 0.16s ease, background-color 0.16s ease;
}

.as-write-page .as-field:focus,
.as-write-page .as-form-table select:focus {
    border-color: #5c8fd6;
    background-color: #fff;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(92, 143, 214, 0.14);
}

.as-write-page .as-phone-group {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    max-width: 330px;
}

.as-write-page .as-phone-group .as-field {
    width: 5.6rem;
    text-align: center;
}

.as-write-page .as-password-group {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    max-width: 330px;
}

.as-write-page .as-password-check {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin: 0;
    white-space: nowrap;
}

.as-write-page .as-password-group .as-field {
    max-width: none;
    flex: 1 1 auto;
}

.as-write-page .as-editor-section {
    margin-top: 1.15rem;
    border: 1px solid #dfe6ef !important;
    border-radius: 8px;
    overflow: hidden;
}

.as-write-page .as-editor-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.85rem 1rem;
    border-bottom: 1px solid #dfe6ef;
    background: #f6f9fd;
}

.as-write-page .as-editor-head strong {
    color: #1f2d3d;
    font-size: 14px;
}

.as-write-page .as-editor-head span {
    color: #64748b;
    font-size: 13px;
}

.as-write-page .as-editor-wrap {
    padding: 0.95rem 1rem 1rem;
}

.as-write-page .as-wrapper .cke_chrome {
    width: 100% !important;
    border-color: #cfd8e3 !important;
    border-radius: 6px;
    overflow: hidden;
}

.as-write-page .as-file-row {
    margin-top: 1rem;
    padding: 0.9rem 1rem;
    border: 1px solid #dfe6ef !important;
    border-radius: 8px;
    background: #fbfdff;
}

.as-write-page .as-file-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.as-write-page .as-file-toolbar > div {
    float: none !important;
}

.as-write-page .as-file-size {
    color: #64748b;
    font-size: 13px;
    text-align: right;
}

.as-write-page #file_info.as-file-info {
    margin: 0;
    padding: 0.9rem 1rem;
    border: 1px dashed #c7d4e5;
    border-radius: 8px;
    color: #64748b !important;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    clear: both;
    background: #fff;
}

.as-write-page #fName {
    margin-top: 0.75rem;
    margin-bottom: 0;
    table-layout: fixed;
}

.as-write-page #fName td {
    word-break: break-all;
    vertical-align: middle;
}

.as-write-page .as-submit-area {
    display: flex;
    justify-content: center;
    padding-top: 1.15rem;
}

.as-write-page #btnSave.notice-search {
    font-size: 13px;
    width: auto;
    min-width: 80px;
    height: 30px;
    padding: 0 1.45rem;
    border: 1px solid #4f7fb9;
    border-radius: 6px;
    color: #fff;
    font-weight: 700;
    background: #5f8ec4;
    box-shadow: 0 4px 10px rgba(95, 142, 196, 0.18);
    transition: background-color 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

.as-write-page #btnSave.notice-search:hover,
.as-write-page #btnSave.notice-search:focus {
    border-color: #436fa5;
    background: #4f7fb9;
    box-shadow: 0 5px 12px rgba(79, 127, 185, 0.24);
    outline: 0;
}

@media (max-width: 1199.98px) {
    .as-write-page .as-side-menu {
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 767.98px) {
    .as-write-page .as-page-wrap {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }

    .as-write-page .as-page-title {
        margin: 2rem 0 1.5rem;
        text-align: left !important;
    }

    .as-write-page .as-page-title h1 {
        font-size: 1.8rem;
    }

    .as-write-page .as-form-panel {
        padding: 1rem;
        border-radius: 8px;
    }

    .as-write-page .as-form-grid {
        grid-template-columns: 1fr;
        gap: 0.85rem;
    }

    .as-write-page .as-phone-group {
        gap: 0.35rem;
        max-width: none;
    }

    .as-write-page .as-phone-group .as-field {
        width: calc((100% - 1.4rem) / 3);
        min-width: 0;
        padding-left: 0.35rem;
        padding-right: 0.35rem;
    }

    .as-write-page .as-password-group {
        align-items: stretch;
        flex-direction: column;
        gap: 0.55rem;
        max-width: none;
    }

    .as-write-page .as-password-group .as-field {
        max-width: none;
    }

    .as-write-page .as-editor-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.25rem;
        padding: 0.85rem 0.75rem;
    }

    .as-write-page .as-editor-wrap {
        padding: 0.75rem;
    }

    .as-write-page #asplaceholder {
        font-size: 12px;
        line-height: 1.6;
    }

    .as-write-page .as-textbox {
        min-height: 320px;
        font-size: 16px;
    }

    .as-write-page .as-file-toolbar {
        align-items: stretch;
        flex-direction: column;
        gap: 0.65rem;
    }

    .as-write-page .as-file-size {
        text-align: left;
    }

    .as-write-page #file_info.as-file-info {
        padding: 0.8rem;
        font-size: 13px;
    }

    .as-write-page #fName,
    .as-write-page #fName tbody,
    .as-write-page #fName tr,
    .as-write-page #fName td {
        display: block;
        width: 100%;
    }

    .as-write-page #fName tr {
        padding: 0.75rem;
        border: 1px solid #e7edf5;
        border-radius: 8px;
        background: #fff;
    }

    .as-write-page #fName td {
        padding: 0.2rem 0 !important;
        border: 0;
    }

    .as-write-page .as-submit-area {
        padding-top: 1rem;
    }

    .as-write-page #btnSave.notice-search {
        width: auto;
        min-width: 96px;
        min-height: 38px;
    }
}

#requestMemo::placeholder {
    font-size: 12px;
    line-height: 1.4;
}