.container {
    max-width: 800px;
    margin: 0 auto;
}

.title-name {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.title-name h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
    font-weight: 700;
}

.subtitle {
    font-size: 1.1em;
    opacity: 0.9;
}

.form-container, .result-container {
    background: white;
    border-radius: 12px;
    padding: 40px;
    margin-top: 30px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.section-title {
    font-size: 1.8em;
    color: #1e3c72;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid #1e3c72;
}

.form-section {
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.required {
    color: #dc3545;
}

.radio-group {
    display: flex;
    gap: 30px;
    margin-top: 10px;
}

.radio-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
}

.radio-wrapper input[type="radio"] {
    margin: 0;
}

.radio-wrapper label {
    margin: 0;
    cursor: pointer;
}

.form-group input[type="text"],
.form-group input[type="password"],
.form-group input[type="email"] {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1em;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #2a5298;
    box-shadow: 0 0 0 3px rgba(42, 82, 152, 0.1);
}

.inquiry-fields {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    margin-top: 20px;
}

.button-group {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
    flex-wrap: wrap;
}

.btn {
    padding: 15px 40px;
    font-size: 1.1em;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    font-weight: 600;
    text-align: center;
}

.btn-primary {
    background: #2a5298;
    color: white;
}

.btn-primary:hover {
    background: #1e3c72;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(42, 82, 152, 0.3);
}

.btn-secondary {
    background: white;
    color: #2a5298;
    border: 2px solid #2a5298;
}

.btn-secondary:hover {
    background: #2a5298;
    color: white;
}

/* 결과 화면 스타일 */
.result-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}

.report-info h3 {
    color: #1e3c72;
    margin-bottom: 10px;
    font-size: 1.4em;
}

.report-meta span {
    color: #666;
    font-size: 0.95em;
}

.status-badge {
    flex-shrink: 0;
}

.detail-content {
    white-space: pre-wrap; /* 또는 pre-line */
}

.status {
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9em;
    font-weight: 600;
    text-align: center;
}

.status-processing {
    background: #fff3cd;
    color: #856404;
}

.status-completed {
    background: #d4edda;
    color: #155724;
}

.status-pending {
    background: #f8d7da;
    color: #721c24;
}

.detail-item {
    margin-bottom: 25px;
}

.detail-item label {
    display: block;
    font-weight: 600;
    color: #1e3c72;
    margin-bottom: 10px;
}

.detail-content {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #2a5298;
    line-height: 1.6;
}

.file-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
}

.file-icon {
    font-size: 1.2em;
}

.file-download {
    color: #2a5298;
    text-decoration: none;
    font-weight: 600;
    margin-left: auto;
}

.file-download:hover {
    text-decoration: underline;
}

.no-attachment {
    color: #666;
    font-style: italic;
}

.progress-section {
    margin: 30px 0;
    background: white;
    border: 2px solid #f0f0f0;
    border-radius: 8px;
    padding: 25px;
}

.progress-section h4 {
    color: #1e3c72;
    margin-bottom: 20px;
    font-size: 1.2em;
}

.progress-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.progress-steps::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 30px;
    right: 30px;
    height: 2px;
    background: #e0e0e0;
    z-index: 1;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    flex: 1;
    max-width: 120px;
}

.step-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    font-weight: bold;
    margin-bottom: 10px;
    border: 3px solid #e0e0e0;
    background: white;
}

.step.completed .step-icon {
    background: #2a5298;
    color: white;
    border-color: #2a5298;
}

.step.current .step-icon {
    background: #ffc107;
    color: white;
    border-color: #ffc107;
    animation: pulse 2s infinite;
}

.step.pending .step-icon {
    background: white;
    color: #999;
    border-color: #e0e0e0;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.step-content {
    text-align: center;
}

.step-title {
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.step-date {
    font-size: 0.85em;
    color: #666;
}

.step.current .step-title {
    color: #ffc107;
    font-weight: 700;
}

.step.completed .step-title {
    color: #2a5298;
}

.result-item {
    background: #e8f0fe;
    border-left-color: #4caf50;
}

.notice-box {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    padding: 20px;
    margin: 30px 0;
}

.notice-box h4 {
    color: #856404;
    margin-bottom: 15px;
    font-size: 1.1em;
}

.notice-box p {
    color: #856404;
    margin-bottom: 10px;
    line-height: 1.5;
}

.sub-notice {
    font-size: 0.9em;
    font-style: italic;
}

.result-footer {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid #f0f0f0;
}

.result-footer .button-group {
    margin-top: 20px;
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    .title-name {
        padding: 60px 20px;
    }

    .title-name h1 {
        font-size: 2em;
    }

    .form-container, .result-container {
        padding: 25px;
        margin: 20px 10px;
    }

    .radio-group {
        flex-direction: column;
        gap: 15px;
    }

    .result-header {
        flex-direction: column;
        gap: 20px;
    }

    .report-meta {
        flex-direction: column;
        gap: 10px;
    }

    .progress-steps {
        flex-wrap: wrap;
        gap: 20px;
    }

    .progress-steps::before {
        display: none;
    }

    .step {
        max-width: none;
        width: calc(50% - 10px);
    }

    .button-group {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .step {
        width: 100%;
        margin-bottom: 20px;
    }

    .step-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2em;
    }
}

.admin-message-box {
    margin-bottom: 20px;
    padding: 20px;
    background-color: #e8f4fd;
    border: 1px solid #b8daff;
    border-radius: 8px;
    border-left: 4px solid #007bff;
}

.admin-message-box h4 {
    margin: 0 0 15px 0;
    color: #004085;
    font-size: 1.1em;
    font-weight: 600;
}

.admin-message-content {
    color: #004085;
    line-height: 1.6;
    white-space: pre-wrap; /* 줄바꿈 보존 */
    font-size: 0.95em;
}