* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #6366f1;
    --primary-dark: #4f46e5;
    --secondary-color: #8b5cf6;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --pending-color: #fbbf24;
    --confirmed-color: #3b82f6;
    --issued-color: #10b981;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --white: #ffffff;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Noto Sans KR', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    color: var(--gray-800);
    padding: 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

header {
    text-align: center;
    color: var(--white);
    margin-bottom: 40px;
    padding: 20px;
}

header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

header h1 img.logo {
    width: 60px;
    height: 60px;
    margin-right: 15px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

header .subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
}

.main-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

/* 컴팩트 입금 안내 카드 (인라인) */
.info-card-inline.compact {
    background: linear-gradient(135deg, #fff8e1 0%, #ffecb3 100%);
    padding: 15px 20px;
    border-radius: 12px;
    margin: 20px 0;
}

.info-card-inline.compact h3 {
    font-size: 1rem;
    margin-bottom: 12px;
    color: var(--gray-900);
    display: flex;
    align-items: center;
    gap: 8px;
}

.info-card-inline.compact h3 i {
    color: var(--warning-color);
}

.bank-info-compact {
    background: var(--white);
    border-radius: 8px;
    padding: 12px 15px;
    margin-bottom: 10px;
    box-shadow: var(--shadow-sm);
}

.bank-detail-compact {
    display: flex;
    align-items: center;
    gap: 10px;
}

.bank-detail-compact i {
    font-size: 1.3rem;
    color: var(--primary-color);
}

.bank-detail-compact span {
    font-size: 0.95rem;
    color: var(--gray-900);
}

.notice-box-compact {
    background: var(--white);
    border-radius: 8px;
    padding: 10px 15px;
    border-left: 3px solid var(--warning-color);
}

.notice-box-compact p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--gray-700);
    line-height: 1.5;
}

.notice-box-compact i {
    color: var(--warning-color);
    margin-right: 5px;
}

.card {
    background: var(--white);
    border-radius: 16px;
    padding: 30px;
    box-shadow: var(--shadow-xl);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-2px);
}

.card h2 {
    font-size: 1.5rem;
    color: var(--gray-900);
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.card h2 i {
    color: var(--primary-color);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 500;
    color: var(--gray-700);
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.form-group label i {
    margin-right: 5px;
    color: var(--primary-color);
}

.required {
    color: var(--danger-color);
    margin-left: 3px;
}

.form-group input,
.form-group select,
.form-select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--gray-200);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: 'Noto Sans KR', sans-serif;
    background-color: var(--white);
    cursor: pointer;
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 40px;
}

.form-group input:focus,
.form-group select:focus,
.form-select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-group select option {
    padding: 10px;
}

.hint {
    display: block;
    margin-top: 5px;
    font-size: 0.85rem;
    color: var(--gray-600);
}

.calculation-box {
    background: linear-gradient(135deg, #667eea15 0%, #764ba215 100%);
    border: 2px solid var(--primary-color);
    border-radius: 12px;
    padding: 20px;
    margin: 25px 0;
}

.calc-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

.calc-row:not(:last-child) {
    border-bottom: 1px solid var(--gray-200);
}

.calc-label {
    font-weight: 500;
    color: var(--gray-700);
}

.calc-value {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.calc-row.total {
    margin-top: 10px;
    padding-top: 15px;
    border-top: 2px solid var(--primary-color);
}

.calc-row.total .calc-label {
    font-size: 1.2rem;
    color: var(--gray-900);
}

.calc-row.total .total-amount {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 700;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Noto Sans KR', sans-serif;
    text-decoration: none;
}

/* 모든 버튼에 눌림 애니메이션 적용 */
.btn:active {
    animation: buttonPress 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    width: 100%;
    justify-content: center;
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: var(--shadow);
}

.btn-secondary {
    background: var(--gray-200);
    color: var(--gray-700);
}

.btn-secondary:hover {
    background: var(--gray-300);
}

.btn-secondary:active {
    background: var(--gray-400);
}

.btn-danger {
    background: var(--danger-color);
    color: var(--white);
}

.btn-danger:hover {
    background: #dc2626;
}

.btn-danger:active {
    background: #b91c1c;
}

.btn-success {
    background: var(--success-color);
    color: var(--white);
    font-size: 0.9rem;
    padding: 8px 16px;
}

.btn-success:hover {
    background: #059669;
}

.btn-success:active {
    background: #047857;
}

.btn-warning {
    background: var(--warning-color);
    color: var(--white);
    font-size: 0.9rem;
    padding: 8px 16px;
}

.btn-warning:hover {
    background: #d97706;
}

.btn-warning:active {
    background: #b45309;
}

.btn-sm {
    padding: 6px 12px;
    font-size: 0.85rem;
}

.info-card {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
}

.bank-info {
    background: var(--white);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
}

.bank-detail {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px;
    border-bottom: 1px solid var(--gray-100);
}

.bank-detail:last-child {
    border-bottom: none;
}

.bank-detail i {
    font-size: 1.5rem;
    color: var(--primary-color);
    width: 30px;
    text-align: center;
}

.bank-detail strong {
    display: block;
    color: var(--gray-600);
    font-size: 0.9rem;
    margin-bottom: 3px;
}

.bank-detail span {
    font-size: 1.1rem;
    color: var(--gray-900);
    font-weight: 600;
}

.notice-box {
    background: var(--white);
    border-radius: 12px;
    padding: 20px;
    border-left: 4px solid var(--warning-color);
}

.notice-box h3 {
    color: var(--gray-900);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.notice-box h3 i {
    color: var(--warning-color);
}

.notice-box ul {
    list-style: none;
    padding-left: 0;
}

.notice-box li {
    padding: 8px 0;
    color: var(--gray-700);
    position: relative;
    padding-left: 25px;
}

.notice-box li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
}

.admin-link {
    text-align: center;
    margin: 30px 0;
}

.admin-link a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.admin-link a:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.admin-link a:active {
    transform: translateY(0);
    animation: buttonPress 0.3s ease;
}

/* 최근 신청 목록 */
.recent-applications {
    max-width: 800px;
    margin: 30px auto;
    padding: 20px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.recent-applications h3 {
    color: var(--gray-900);
    font-size: 1.2rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.recent-applications h3 i {
    color: var(--primary-color);
}

.recent-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.recent-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    background: var(--gray-50);
    border-radius: 8px;
    border-left: 3px solid var(--primary-color);
    transition: all 0.2s ease;
}

.recent-item:hover {
    background: var(--gray-100);
    transform: translateX(3px);
}

.recent-item-info {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
}

.recent-item-icon {
    width: 32px;
    height: 32px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 600;
}

.recent-item-details {
    flex: 1;
}

.recent-item-name {
    font-weight: 600;
    color: var(--gray-900);
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.recent-item-email {
    color: var(--gray-600);
    font-size: 0.85rem;
}

.recent-item-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--gray-500);
    font-size: 0.85rem;
}

.recent-item-months {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    background: var(--white);
    border-radius: 20px;
    font-weight: 500;
    color: var(--primary-color);
}

.recent-item-date {
    display: flex;
    align-items: center;
    gap: 4px;
}

.loading {
    text-align: center;
    padding: 30px;
    color: var(--gray-500);
}

.loading i {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.empty-state {
    text-align: center;
    padding: 40px 20px;
    color: var(--gray-500);
}

.empty-state i {
    font-size: 3rem;
    margin-bottom: 15px;
    opacity: 0.5;
}

footer {
    text-align: center;
    color: var(--white);
    padding: 20px;
    opacity: 0.8;
}

footer .version {
    font-size: 0.80rem;
    margin-top: 5px;
    opacity: 0.6;
    color: var(--white);
    font-family: 'Courier New', monospace;
}

/* 모달 */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: var(--white);
    border-radius: 16px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-xl);
    animation: slideUp 0.3s ease;
    text-align: center;
}

.modal-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.modal-icon.success i {
    color: var(--success-color);
}

.modal-icon.primary i {
    color: var(--primary-color);
}

.modal-icon.danger i {
    color: var(--danger-color);
}

.modal-content h2 {
    color: var(--gray-900);
    margin-bottom: 15px;
}

.modal-content p {
    color: var(--gray-700);
    margin-bottom: 10px;
    line-height: 1.6;
}

.email-notice {
    background: var(--gray-50);
    padding: 15px;
    border-radius: 8px;
    margin: 20px 0;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--gray-700);
}

.email-notice i {
    color: var(--primary-color);
    margin-top: 2px;
}

/* 설정 모달 */
.settings-modal-content {
    max-width: 600px;
    padding: 30px;
}

.settings-section {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--gray-200);
}

.settings-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.settings-section h3 {
    color: var(--gray-900);
    font-size: 1rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.settings-section h3 i {
    color: var(--primary-color);
}

.form-group {
    margin-bottom: 12px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: var(--gray-700);
    font-size: 0.9rem;
}

.form-control {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--gray-300);
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.2s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-hint {
    display: block;
    margin-top: 5px;
    font-size: 0.85rem;
    color: var(--gray-500);
}

/* 비밀번호 입력 wrapper */
.password-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.password-input-wrapper .form-control {
    padding-right: 45px;
}

.password-toggle-btn {
    position: absolute;
    right: 10px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px 10px;
    color: var(--gray-500);
    transition: color 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.password-toggle-btn:hover {
    color: var(--primary-color);
}

.password-toggle-btn:active {
    transform: scale(0.95);
}

.password-toggle-btn i {
    font-size: 1rem;
}

.modal-body {
    text-align: left;
    margin: 20px 0;
}

.modal-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 25px;
}

/* 관리자 페이지 */
.admin-page header {
    margin-bottom: 30px;
}

.admin-toolbar {
    display: flex;
    gap: 10px;
    justify-content: space-between;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.admin-toolbar .btn,
.admin-toolbar label.btn {
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.admin-toolbar .btn:active,
.admin-toolbar label.btn:active {
    animation: buttonPress 0.3s ease;
}

/* 테이블 헤더 */
.table-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 1px solid var(--gray-200);
}

.table-actions {
    display: flex;
    gap: 8px;
    align-items: center;
}

.btn-icon {
    padding: 8px 12px;
    min-width: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-icon:active {
    animation: buttonPress 0.3s ease;
}

.btn-icon i {
    margin: 0;
    font-size: 1rem;
    transition: transform 0.3s ease;
}

/* 새로고침 회전 애니메이션 */
@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.spinning {
    animation: spin 0.6s linear;
}

/* 버튼 눌림 애니메이션 */
@keyframes buttonPress {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(0.95);
    }
    100% {
        transform: scale(1);
    }
}

.btn-pressing {
    animation: buttonPress 0.3s ease;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: var(--white);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.stat-icon {
    font-size: 2.5rem;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.stat-card.pending .stat-icon {
    background: #fef3c7;
    color: var(--pending-color);
}

.stat-card.confirmed .stat-icon {
    background: #dbeafe;
    color: var(--confirmed-color);
}

.stat-card.issued .stat-icon {
    background: #d1fae5;
    color: var(--issued-color);
}

.stat-card.sent .stat-icon {
    background: #ddd6fe;
    color: #7c3aed;
}

.stat-card.total .stat-icon {
    background: #e0e7ff;
    color: var(--primary-color);
}

.stat-info h3 {
    font-size: 2rem;
    color: var(--gray-900);
    margin-bottom: 5px;
}

.stat-info p {
    color: var(--gray-600);
    font-size: 0.9rem;
}

.filter-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 10px 20px;
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    color: var(--gray-700);
    transition: all 0.3s ease;
    font-family: 'Noto Sans KR', sans-serif;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tab-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.tab-btn:active {
    animation: buttonPress 0.3s ease;
}

.tab-btn.active {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.badge {
    background: var(--gray-200);
    color: var(--gray-700);
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
}

.tab-btn.active .badge {
    background: rgba(255, 255, 255, 0.3);
    color: var(--white);
}

.badge.pending {
    background: #fef3c7;
    color: #92400e;
}

.badge.confirmed {
    background: #dbeafe;
    color: #1e40af;
}

.badge.issued {
    background: #d1fae5;
    color: #065f46;
}

.badge.sent {
    background: #ddd6fe;
    color: #7c3aed;
}

.table-responsive {
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table thead {
    background: var(--gray-50);
}

.admin-table th {
    padding: 15px;
    text-align: left;
    font-weight: 600;
    color: var(--gray-700);
    border-bottom: 2px solid var(--gray-200);
}

.admin-table td {
    padding: 15px;
    border-bottom: 1px solid var(--gray-200);
    color: var(--gray-700);
}

.admin-table tbody tr {
    transition: background 0.2s ease;
}

.admin-table tbody tr:hover {
    background: var(--gray-50);
}

/* 체크박스 스타일 */
.admin-table input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--primary-color);
}

.status-badge {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.status-badge.pending {
    background: #fef3c7;
    color: #92400e;
}

.status-badge.confirmed {
    background: #dbeafe;
    color: #1e40af;
}

.status-badge.issued {
    background: #d1fae5;
    color: #065f46;
}

.status-badge.sent {
    background: #ddd6fe;
    color: #7c3aed;
}

.action-buttons {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}

.empty-state {
    text-align: center;
    padding: 60px 20px !important;
    color: var(--gray-500);
}

.empty-state i {
    font-size: 3rem;
    margin-bottom: 15px;
    display: block;
}

/* 메모 입력란 스타일 */
.memo-input {
    width: 100%;
    min-width: 120px;
    padding: 6px 10px;
    border: 1px solid var(--gray-300);
    border-radius: 6px;
    font-size: 0.9rem;
    font-family: inherit;
    transition: all 0.2s ease;
    background: var(--white);
}

.memo-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.memo-input:hover {
    border-color: var(--gray-400);
}

.memo-input::placeholder {
    color: var(--gray-400);
}

/* 날짜 입력란 스타일 */
.date-input {
    width: 100%;
    min-width: 120px;
    padding: 6px 10px;
    border: 1px solid var(--gray-300);
    border-radius: 6px;
    font-size: 0.9rem;
    font-family: inherit;
    transition: all 0.2s ease;
    background: var(--white);
    cursor: pointer;
}

.date-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.date-input:hover {
    border-color: var(--gray-400);
}

.empty-state p {
    font-size: 1.1rem;
}

.coupon-display {
    margin: 25px 0;
}

.coupon-code-box {
    background: var(--gray-50);
    border: 2px dashed var(--primary-color);
    border-radius: 8px;
    padding: 20px;
    margin: 15px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.coupon-code-box code {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    font-family: 'Courier New', monospace;
    letter-spacing: 2px;
}

.btn-copy {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 10px 15px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-copy:hover {
    background: var(--primary-dark);
}

.coupon-notice {
    color: var(--gray-600);
    font-size: 0.9rem;
}

.delete-warning {
    color: var(--danger-color) !important;
    font-weight: 600;
}

.row-hidden {
    display: none;
}

/* 이메일 모달 스타일 */
.email-modal-large {
    max-width: 700px !important;
}

.email-info {
    text-align: left;
}

.email-value {
    background: var(--gray-50);
    padding: 10px 15px;
    border-radius: 6px;
    font-weight: 600;
    color: var(--primary-color);
}

.form-control {
    width: 100%;
    padding: 10px 15px;
    border: 2px solid var(--gray-200);
    border-radius: 6px;
    font-size: 1rem;
    background: var(--gray-50);
    font-family: 'Noto Sans KR', sans-serif;
}

.email-textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid var(--gray-200);
    border-radius: 8px;
    font-size: 0.95rem;
    line-height: 1.6;
    font-family: 'Noto Sans KR', sans-serif;
    background: var(--gray-50);
    resize: vertical;
}

.email-textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* 애니메이션 */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* 반응형 디자인 */
@media (max-width: 968px) {
    .main-content {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .info-card-inline.compact {
        padding: 12px 15px;
    }
    
    .bank-detail-compact span {
        font-size: 0.9rem;
    }
    
    .notice-box-compact p {
        font-size: 0.8rem;
    }
    
    .recent-applications {
        padding: 15px;
    }
    
    .recent-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .recent-item-meta {
        width: 100%;
        justify-content: flex-start;
    }
}

@media (max-width: 640px) {
    header h1 {
        font-size: 1.8rem;
    }
    
    header h1 img.logo {
        width: 45px;
        height: 45px;
        margin-right: 10px;
    }
    
    header .subtitle {
        font-size: 1rem;
    }
    
    .card {
        padding: 20px;
    }
    
    .modal-content {
        padding: 25px;
        max-height: 85vh;
    }
    
    .settings-modal-content {
        padding: 20px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .filter-tabs {
        flex-direction: column;
    }
    
    .tab-btn {
        width: 100%;
        justify-content: space-between;
    }
    
    .admin-table {
        font-size: 0.85rem;
    }
    
    .admin-table th,
    .admin-table td {
        padding: 10px 8px;
    }
    
    .action-buttons {
        flex-direction: column;
    }
    
    .action-buttons .btn {
        width: 100%;
    }
    
    .modal-content {
        padding: 25px;
        width: 95%;
    }
    
    .coupon-code-box {
        flex-direction: column;
    }
    
    .coupon-code-box code {
        font-size: 1.2rem;
    }
    
    /* 컴팩트 입금 안내 모바일 */
    .info-card-inline.compact {
        padding: 10px 15px;
        margin: 15px 0;
    }
    
    .info-card-inline.compact h3 {
        font-size: 0.95rem;
    }
    
    .bank-detail-compact {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .bank-detail-compact i {
        font-size: 1.1rem;
    }
    
    .bank-detail-compact span {
        font-size: 0.85rem;
    }
    
    .notice-box-compact p {
        font-size: 0.75rem;
    }
}
