/* ==================== 로딩 스크린 ==================== */
.loading-screen-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 99999;
}

.loading-screen-wrapper.none {
    display: none;
}

.loading-icon {
    width: 200px;
    height: auto;
}

.loading-screen-text {
    margin-top: 16px;
    font-size: 14px;
    font-weight: 600;
    color: #666;
}


/* Main Styles */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Malgun Gothic', sans-serif;
    background: #f5f7fa;
    color: #2c3e50;
    line-height: 1.6;
}

/* ==================== Sidebar Navigation ==================== */
.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: 260px;
    height: 100vh;
    background: #ffffff;
    color: #2c3e50;
    padding: 30px 0;
    z-index: 1000;
    box-shadow: 2px 0 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.logo {
    padding: 0 30px 30px;
 
}

.nav-menu {
    list-style: none;
    padding: 20px 0;
}

.nav-item {
    padding: 15px 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #7f8c8d;
}

.nav-icon {
    font-size: 20px;
    transition: transform 0.3s ease;
}

.nav-text {
    font-weight: 500;
}

.nav-item:hover {
    background: #f8f9fa;
    border-left-color: #ff6b35;
    color: #2c3e50;
}

.nav-item:hover .nav-icon {
    transform: scale(1.2);
}

.nav-item.active {
    background: linear-gradient(90deg, rgba(255,107,53,0.1) 0%, transparent 100%);
    border-left-color: #ff6b35;
    font-weight: 600;
    color: #ff6b35;
}

.nav-item.active .nav-icon {
    transform: scale(1.15);
}

/* ==================== Main Content ==================== */
.main-content {
    margin-left: 260px;
    padding: 110px 40px 30px 40px;
    min-height: 100vh;
}

/* ==================== Header ==================== */
.header {
    position: fixed;
    top: 0;
    right: 0;
    left: 260px;
    height: 80px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 0 40px;
    background: #ffffff;
    border-bottom: 1px solid #ecf0f1;
    z-index: 999;
    animation: fadeInDown 0.6s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.header-spacer {
    flex: 1;
}

.header-left {
    flex: 1;
    margin-bottom: 20px;
}

.tabs {
    display: flex;
    gap: 30px;
}

.tab {
    padding: 10px 0;
    cursor: pointer;
    color: #95a5a6;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
    font-size: 16px;
    font-weight: 500;
}

.tab.active {
    color: #2c3e50;
    border-bottom-color: #ff6b35;
    font-weight: 600;
}

.tab:hover {
    color: #2c3e50;
}

.header-right {
    display: flex;
    gap: 15px;
    align-items: center;
}

.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.btn-primary {
    background: #2c3e50;
    color: white;
}

.btn-primary:hover {
    background: #34495e;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(44,62,80,0.3);
}

.user-info {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #2c3e50;
    font-weight: 500;
}

.user-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #ecf0f1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

/* ==================== Stats Cards ==================== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
    animation: fadeInUp 0.6s ease 0.2s both;
}

.stat-card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.stat-label {
    color: #7f8c8d;
    font-size: 14px;
    margin-bottom: 10px;
}

.stat-value {
    font-size: 32px;
    font-weight: bold;
    color: #2c3e50;
}

.stat-unit {
    font-size: 16px;
    color: #7f8c8d;
    margin-left: 5px;
}

/* ==================== Charts Grid ==================== */
.charts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-bottom: 40px;
    animation: fadeInUp 0.6s ease 0.4s both;
}

.chart-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.chart-card:hover {
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.chart-title {
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
}

.chart-count {
    font-size: 24px;
    font-weight: bold;
    color: #ff6b35;
}

.chart-container {
    position: relative;
    height: 300px;
}

/* ==================== Legend ==================== */
.custom-legend {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.legend-color {
    width: 16px;
    height: 16px;
    border-radius: 3px;
}

/* ==================== Ranking Section ==================== */
.ranking-section {
    animation: fadeInUp 0.6s ease 0.6s both;
}

.section-title {
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 20px;
}

.ranking-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-bottom: 40px;
}

.ranking-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    text-align: center;
}

.ranking-card:hover {
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

/* ==================== Bubble Rankings ==================== */
.ranking-bubble-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin: 30px 0;
}

.ranking-bubble {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.bubble {
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    cursor: pointer;
    font-weight: 600;
}

.bubble:hover {
    transform: scale(1.1);
}

.bubble-large {
    width: 180px;
    height: 180px;
    background: #ff6b35;
    color: white;
    font-size: 48px;
    font-weight: bold;
    animation: pulse 2s ease-in-out infinite;
}

.bubble-medium {
    width: 120px;
    height: 120px;
    background: #f0f0f0;
    color: #7f8c8d;
    font-size: 32px;
    font-weight: 600;
}

.bubble-label {
    font-size: 16px;
    color: #2c3e50;
    font-weight: 600;
}

.bubble-count {
    font-size: 14px;
    color: #95a5a6;
}

/* ==================== Medal Rankings ==================== */
.medal-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.medal-item {
    text-align: center;
    padding: 20px;
    border-radius: 10px;
    background: #f8f9fa;
    transition: all 0.3s ease;
}

.medal-item:hover {
    transform: translateY(-5px);
    background: white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.medal-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.medal-label {
    font-size: 16px;
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 5px;
}

.medal-count {
    font-size: 14px;
    color: #95a5a6;
}

.badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 10px;
}

.badge-4th {
    background: #e8f5e9;
    color: #4caf50;
}

.badge-5th {
    background: #fff3e0;
    color: #ff9800;
}

/* ==================== CTA Section ==================== */
.cta-section {
    text-align: center;
    padding: 40px;
    animation: fadeInUp 0.6s ease 0.8s both;
}

.btn-cta {
    background: #2c3e50;
    color: white;
    padding: 18px 48px;
    font-size: 16px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.btn-cta:hover {
    background: #34495e;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(44,62,80,0.3);
}





/* ==================== Footer ==================== */
.footer {
    text-align: center;
    padding: 20px;
    color: #95a5a6;
    font-size: 14px;
    border-top: 1px solid #ecf0f1;
    margin-top: 40px;
    display: flex;
    justify-content: center;
}
.privacy {
    cursor: pointer;

}
.useservice{
    margin-right: 20px;
    cursor: pointer;
}

/* ==================== Login Page ==================== */
.login-page {
    background: #f5f7fa;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.login-main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.login-card {
    background: #fff;
    border-radius: 12px;
    padding: 60px 70px;
    width: 100%;
    max-width: 580px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}

.login-card__title {
    font-size: 26px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 12px;
    text-align: center;
}

.login-card__desc {
    font-size: 14px;
    color: #95a5a6;
    text-align: center;
    margin-bottom: 40px;
}

.login-form {
    display: flex;
    flex-direction: column;
}

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

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
}

.form-input-wrap {
    position: relative;
}

.form-input {
    width: 100%;
    height: 52px;
    padding: 0 16px;
    border: 1px solid #dde1e7;
    border-radius: 8px;
    font-size: 15px;
    color: #2c3e50;
    background: #fff;
    transition: border-color 0.2s ease;
    outline: none;
}

.form-input-wrap .form-input {
    padding-right: 48px;
}

.form-input::placeholder {
    color: #bdc3c7;
}

.form-input:focus {
    border-color: #2c3e50;
}

.form-input.is-error {
    border-color: #e74c3c;
}

.btn-eye {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #bdc3c7;
    padding: 4px;
    display: flex;
    align-items: center;
}

.btn-eye:hover {
    color: #7f8c8d;
}

.icon-eye,
.icon-eye-off {
    width: 20px;
    height: 20px;
}

.login-util {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.checkbox-input {
    display: none;
}

.checkbox-custom {
    width: 18px;
    height: 18px;
    border: 1.5px solid #dde1e7;
    border-radius: 4px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.checkbox-input:checked + .checkbox-custom {
    background: #2c3e50;
    border-color: #2c3e50;
}

.checkbox-input:checked + .checkbox-custom::after {
    content: '';
    width: 10px;
    height: 6px;
    border-left: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(-45deg) translateY(-1px);
    display: block;
}

.checkbox-text {
    font-size: 14px;
    color: #7f8c8d;
}

.login-util__links {
    display: flex;
    gap: 16px;
}

.login-link {
    font-size: 14px;
    color: #7f8c8d;
    text-decoration: none;
    transition: color 0.2s ease;
}

.login-link:hover {
    color: #2c3e50;
}

.login-error {
    display: none;
    margin-bottom: 16px;
}

.login-error.is-show {
    display: block;
}

.login-error span {
    font-size: 14px;
    color: #e74c3c;
}

.btn-login {
    width: 100%;
    height: 56px;
    background: #1a1a1a;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-login:hover {
    background: #2c3e50;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}



/* ==================== Register Page ==================== */
.register-page {
    background: #f5f7fa;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.register-main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.register-card {
    background: #fff;
    border-radius: 12px;
    padding: 60px 70px;
    width: 100%;
    max-width: 600px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}

.register-card__title {
    font-size: 26px;
    font-weight: 700;
    color: #1a1a1a;
    text-align: center;
    margin-bottom: 40px;
}

.register-form {
    display: flex;
    flex-direction: column;
}

/* form-row: input + 버튼 나란히 */
.form-row {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.form-row .form-input-wrap,
.form-row .form-input {
    flex: 1;
}

/* 서브 버튼 (중복확인, 본인인증) */
.btn-sub {
    height: 52px;
    padding: 0 20px;
    background: #fff;
    border: 1px solid #2c3e50;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #2c3e50;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.btn-sub:hover {
    background: #2c3e50;
    color: #fff;
}

/* 에러 아이콘 */
.input-icon-error {
    display: none;
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background: #e74c3c;
    color: #fff;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 700;
    align-items: center;
    justify-content: center;
}

.form-input-wrap.has-eye .input-icon-error {
    right: 44px;
}

.form-input.is-error ~ .input-icon-error {
    display: flex;
}

/* 캘린더 인풋 */
.input-icon-calendar {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    pointer-events: none;
}

.form-input--calendar {
    padding-left: 40px;
}

/* 힌트 텍스트 */
.form-hint {
    font-size: 12px;
    color: #7f8c8d;
    margin-top: 8px;
}

/* 에러 메시지 */
.form-error {
    font-size: 13px;
    color: #e74c3c;
    margin-top: 6px;
    min-height: 18px;
}

/* required 별표 */
.required {
    color: #e74c3c;
    margin-left: 2px;
}

/* 성별 버튼 */
.gender-group {
    display: flex;
    gap: 10px;
}

.btn-gender {
    flex: 1;
    height: 52px;
    border: 1px solid #dde1e7;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    color: #7f8c8d;
    background: #fff;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-gender:hover {
    border-color: #2c3e50;
    color: #2c3e50;
}

.btn-gender.active {
    background: #2c3e50;
    border-color: #2c3e50;
    color: #fff;
    font-weight: 600;
}

/* 약관 동의 */
.agree-group {
    border-top: 1px solid #f0f0f0;
    padding-top: 20px;
}

.checkbox-label--all {
    margin-bottom: 16px;
}

.checkbox-text--bold {
    font-weight: 600;
    color: #2c3e50;
    font-size: 15px;
}

.agree-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-left: 4px;
}

.agree-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.agree-view {
    font-size: 13px;
    color: #95a5a6;
    text-decoration: underline;
    flex-shrink: 0;
}

.agree-view:hover {
    color: #2c3e50;
}

/* 하단 버튼 */
.register-btn-group {
    display: flex;
    gap: 10px;
    margin-top: 30px;
}

.btn-cancel {
    flex: 1;
    height: 56px;
    background: #fff;
    border: 1px solid #dde1e7;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    color: #7f8c8d;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-cancel:hover {
    border-color: #2c3e50;
    color: #2c3e50;
}

.btn-register {
    flex: 1;
    height: 56px;
    background: #1a1a1a;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-register:hover {
    background: #2c3e50;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* ==================== Record Page ==================== */
.record-section {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 200px);
}

.record-inner {
    text-align: center;
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
}

.record-title {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 16px;
}

.record-desc {
    font-size: 15px;
    color: #7f8c8d;
    margin-bottom: 60px;
    line-height: 1.6;
}

.record-cards {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-bottom: 60px;
}

.record-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    width: 180px;
}

.record-card__img {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.record-card__img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.record-card:hover .record-card__img img {
    transform: translateY(-6px);
}

.record-card__title {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
}

.record-card__desc {
    font-size: 13px;
    color: #7f8c8d;
    line-height: 1.7;
}

.record-btn-wrap {
    display: flex;
    justify-content: center;
}

.btn-record {
    padding: 18px 48px;
    background: #1a1a1a;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-record:hover {
    background: #2c3e50;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

/* ==================== Modal ==================== */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.modal-overlay.is-show {
    display: flex;
}

.modal {
    background: #fff;
    border-radius: 12px;
    width: 90%;
    max-width: 1000px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    animation: fadeInUp 0.3s ease;
    overflow: hidden;
}

.modal__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 30px;
    border-bottom: 1px solid #f0f0f0;
    flex-shrink: 0;
}

.modal__title {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
}

.modal__close {
    background: none;
    border: none;
    font-size: 18px;
    color: #7f8c8d;
    cursor: pointer;
    padding: 4px;
    transition: color 0.2s ease;
}

.modal__close:hover {
    color: #1a1a1a;
}

.modal__body {
    overflow-y: auto;
    padding: 30px;
    flex: 1;
}

.modal__img {
    width: 100%;
    height: auto;
    display: block;
}

.modal__footer {
    padding: 20px 30px;
    border-top: 1px solid #f0f0f0;
    display: flex;
    justify-content: center;
    flex-shrink: 0;
}

.modal__btn {
    padding: 14px 60px;
    background: #1a1a1a;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.modal__btn:hover {
    background: #2c3e50;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
/* ==================== Upload Page ==================== */
.upload-section {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 200px);
}

.upload-inner {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.upload-title {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 16px;
    text-align: center;
}

.upload-desc {
    font-size: 14px;
    color: #7f8c8d;
    text-align: center;
    line-height: 1.7;
    margin-bottom: 50px;
}

.upload-box {
    border: 2px dashed #dde1e7;
    border-radius: 12px;
    padding: 80px 40px;
    text-align: center;
    background: #fafbfc;
    transition: all 0.3s ease;
    margin-bottom: 30px;
}

.upload-box.is-dragover {
    border-color: #ff6b35;
    background: #fff5f2;
}

.upload-box__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.upload-box__icon {
    width: 80px;
    height: 80px;
    object-fit: contain;
    opacity: 0.5;
}

.upload-box__text {
    font-size: 15px;
    color: #7f8c8d;
}

.upload-box__btn {
    padding: 12px 32px;
    background: #fff;
    border: 1px solid #ff6b35;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #ff6b35;
    cursor: pointer;
    transition: all 0.2s ease;
}

.upload-box__btn:hover {
    background: #ff6b35;
    color: #fff;
}

.upload-agree {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 40px;
}

.upload-agree .checkbox-label {
    flex: 1;
}

.upload-agree .checkbox-text {
    font-size: 13px;
    color: #7f8c8d;
    line-height: 1.6;
}

.upload-agree__link {
    font-size: 13px;
    color: #ff6b35;
    white-space: nowrap;
    flex-shrink: 0;
    transition: color 0.2s ease;
}

.upload-agree__link:hover {
    color: #e55a25;
    text-decoration: underline;
}

.upload-btn-wrap {
    text-align: center;
}

.btn-upload {
    padding: 18px 48px;
    background: #1a1a1a;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-upload:hover {
    background: #2c3e50;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

.btn-upload:disabled {
    background: #bdc3c7;
    cursor: not-allowed;
    transform: none;
}

/* ==================== Error Page ==================== */
.error-section {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 200px);
}

.error-inner {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.error-icon {
    width: 64px;
    height: 64px;
    object-fit: contain;
    opacity: 0.6;
    animation: shake 0.5s ease;
}

.error-title {
    font-size: 20px;
    font-weight: 600;
    color: #2c3e50;
}

.btn-error-retry {
    padding: 16px 40px;
    background: #1a1a1a;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-error-retry:hover {
    background: #2c3e50;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-10px); }
    75% { transform: translateX(10px); }
}

/* ==================== Success Page ==================== */
.success-section {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 200px);
}

.success-inner {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.success-icon {
    width: 64px;
    height: 64px;
    object-fit: contain;
    animation: successPop 0.6s ease;
}

.success-title {
    font-size: 20px;
    font-weight: 600;
    color: #2c3e50;
}

.btn-success-confirm {
    padding: 16px 40px;
    background: #1a1a1a;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-success-confirm:hover {
    background: #2c3e50;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

@keyframes successPop {
    0% { 
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.1);
    }
    100% { 
        transform: scale(1);
        opacity: 1;
    }
}


/* ==================== Questions Page ==================== */
.questions-section {
    padding-bottom: 40px;
}

.category-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 30px;
    border-bottom: 1px solid #ecf0f1;
}

.category-tab {
    flex: 1;
    padding: 18px 24px;
    background: #f8f9fa;
    border: none;
    font-size: 15px;
    font-weight: 600;
    color: #7f8c8d;
    cursor: pointer;
    transition: all 0.2s ease;
    border-bottom: 3px solid transparent;
}

.category-tab:hover {
    color: #2c3e50;
    background: #f0f0f0;
}

.category-tab.active {
    background: #ff6b35;
    color: #fff;
    border-bottom-color: #e55a25;
}

.questions-table {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    margin-bottom: 30px;
}

.questions-table__header {
    display: flex;
    background: #f8f9fa;
    padding: 16px 24px;
    font-weight: 600;
    font-size: 14px;
    color: #2c3e50;
    border-bottom: 1px solid #ecf0f1;
}

.questions-table__col {
    display: flex;
    align-items: center;
}

.questions-table__col--no {
    width: 120px;
    flex-shrink: 0;
}

.questions-table__col--question {
    flex: 1;
}

.questions-table__body {
    display: flex;
    flex-direction: column;
}

.question-item {
    display: flex;
    padding: 20px 24px;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.2s ease;
}

.question-item:last-child {
    border-bottom: none;
}

.question-item:hover {
    background: #fafbfc;
}

.question-item__no {
    width: 120px;
    flex-shrink: 0;
    font-size: 14px;
    font-weight: 600;
    color: #7f8c8d;
    display: flex;
    align-items: center;
}

.question-item__content {
    flex: 1;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.question-item__icon {
    width: 20px;
    height: 18px;
    object-fit: contain;
    flex-shrink: 0;
    margin-top: 2px;
}

.question-item__text {
    font-size: 15px;
    line-height: 1.6;
    color: #2c3e50;
}

.questions-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.btn-questions-secondary {
    padding: 16px 40px;
    background: #fff;
    border: 1px solid #dde1e7;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    color: #7f8c8d;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-questions-secondary:hover {
    border-color: #2c3e50;
    color: #2c3e50;
}

.btn-questions-primary {
    padding: 16px 40px;
    background: #1a1a1a;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-questions-primary:hover {
    background: #2c3e50;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
/* ==================== Interview Page ==================== */
.interview-section {
    padding-bottom: 40px;
}

.interview-header {
    text-align: center;
    margin-bottom: 40px;
    margin-top: 60px;
}

.interview-header__label {
    display: inline-block;
    font-size: 14px;
    color: #7f8c8d;
    margin-bottom: 12px;
}

.interview-header__title {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a1a;
}

.interview-screen {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.interview-left {
    min-height: 500px;
}
.interview-right {
    min-height: 500px;
}

.interview-ai {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.interview-ai__img {
    width: 600px;
    height: auto;
    animation: float 3s ease-in-out infinite;
}

.interview-ai__bubble {
    background: #fff;
    padding: 20px 24px;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    max-width: 300px;
}

.interview-ai__text {
    font-size: 14px;
    line-height: 1.7;
    color: #2c3e50;
    text-align: center;
}

.interview-right {
    background: #fff;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    position: relative;
}

.interview-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 20px;
    color: #bdc3c7;
    cursor: pointer;
    padding: 8px;
    transition: color 0.2s ease;
}

.interview-close:hover {
    color: #2c3e50;
}

.interview-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.interview-question {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 40px 0;
}

.interview-question__title {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 16px;
}

.interview-question__text {
    font-size: 16px;
    line-height: 1.6;
    color: #7f8c8d;
}

.interview-progress {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-top: 30px;
    border-top: 1px solid #f0f0f0;
}

.interview-progress__label {
    font-size: 14px;
    color: #bdc3c7;
    cursor: pointer;
    transition: color 0.2s ease;
}

.interview-progress__label:hover {
    color: #7f8c8d;
}

.interview-progress__dots {
    flex: 1;
    display: flex;
    justify-content: center;
    gap: 12px;
}

.interview-progress__dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #e0e0e0;
    transition: all 0.3s ease;
}

.interview-progress__dot.active {
    background: #ff6b35;
    width: 36px;
    border-radius: 6px;
}

.interview-progress__next {
    padding: 10px 24px;
    background: #f0f0f0;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    color: #7f8c8d;
    cursor: pointer;
    transition: all 0.2s ease;
}

.interview-progress__next:hover {
    background: #ff6b35;
    color: #fff;
}

.interview-actions {
    text-align: center;
}

.btn-interview-start {
    padding: 18px 48px;
    background: #1a1a1a;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-interview-start:hover {
    background: #2c3e50;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}
/* Full screen mode for interview page */
.main-content--fullscreen {
    margin-left: 0;
    padding: 60px 40px 30px 40px;
}
/* ==================== Setup Page ==================== */

/* 상단 고정 헤더 */
.setup-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid #ecf0f1;
    padding: 24px 0;
    z-index: 999;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

/* 진행 단계 */
.setup-steps {
    display: flex;
    align-items: center;
    justify-content: center;
}

.setup-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.setup-step__number {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #ecf0f1;
    color: #95a5a6;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.setup-step.active .setup-step__number {
    background: #ff6b35;
    color: #fff;
}

.setup-step__label {
    font-size: 13px;
    color: #95a5a6;
    font-weight: 500;
    white-space: nowrap;
}

.setup-step.active .setup-step__label {
    color: #2c3e50;
    font-weight: 600;
}

.setup-step-line {
    width: 80px;
    height: 2px;
    background: #ecf0f1;
    margin: 0 16px 0 16px;
    align-self: flex-start;
    margin-top: 16px;
}

.setup-step-line.active {
    background: #ff6b35;
}

/* Setup Section */
.setup-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 120px 20px 40px 20px;
    position: relative;
}

/* main-content 패딩 조정 */
.main-content--fullscreen {
    margin-left: 0;
    padding: 0 40px 30px 40px;
}

/* 설정 폼 */
.setup-form {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 40px;
}

.setup-box {
    background: #fff;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.setup-box__title {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.setup-box__desc {
    font-size: 14px;
    color: #7f8c8d;
    margin-bottom: 30px;
}

.setup-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.setup-input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.setup-label {
    font-size: 14px;
    font-weight: 600;
    color: #2c3e50;
}

.autocomplete-wrap {
    position: relative;
}

.setup-input {
    width: 100%;
    height: 48px;
    padding: 0 16px;
    border: 1px solid #dde1e7;
    border-radius: 8px;
    font-size: 15px;
    color: #2c3e50;
    outline: none;
    transition: border-color 0.2s ease;
}

.setup-input::placeholder {
    color: #bdc3c7;
}

.setup-input:focus {
    border-color: #ff6b35;
}

.autocomplete-list {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 4px;
    background: #fff;
    border: 1px solid #dde1e7;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    max-height: 240px;
    overflow-y: auto;
    z-index: 10;
}

.autocomplete-list.is-show {
    display: block;
}

.autocomplete-item {
    padding: 12px 16px;
    font-size: 14px;
    color: #2c3e50;
    cursor: pointer;
    transition: background 0.2s ease;
}

.autocomplete-item:hover {
    background: #f8f9fa;
}

.autocomplete-item:active {
    background: #ecf0f1;
}

/* 질문 리스트 */
.question-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.question-row {
    display: grid;
    grid-template-columns: 80px 1fr auto;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.question-row__label {
    font-size: 14px;
    font-weight: 600;
    color: #2c3e50;
}

.question-row__content {
    position: relative;
}

.question-row__text {
    font-size: 14px;
    color: #bdc3c7;
    line-height: 1.6;
}

.question-row__text.active {
    color: #2c3e50;
}

.question-row__input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #dde1e7;
    border-radius: 8px;
    font-size: 14px;
    color: #2c3e50;
    outline: none;
}

.question-row__input:focus {
    border-color: #ff6b35;
}

.question-row__toggle {
    display: flex;
    align-items: center;
    gap: 12px;
}

.toggle-label {
    font-size: 13px;
    color: #7f8c8d;
    white-space: nowrap;
}

/* 토글 스위치 */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 26px;
}

.toggle-input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #dde1e7;
    transition: 0.3s;
    border-radius: 26px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

.toggle-input:checked + .toggle-slider {
    background-color: #ff6b35;
}

.toggle-input:checked + .toggle-slider:before {
    transform: translateX(22px);
}

/* 하단 버튼 */
.setup-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.btn-setup-secondary {
    padding: 16px 40px;
    background: #fff;
    border: 1px solid #dde1e7;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    color: #7f8c8d;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-setup-secondary:hover {
    border-color: #2c3e50;
    color: #2c3e50;
}

.btn-setup-primary {
    padding: 16px 40px;
    background: #1a1a1a;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-setup-primary:hover {
    background: #2c3e50;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* ==================== Check Page ==================== */
.check-section {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 200px);
}

.check-inner {
    text-align: center;
    width: 100%;
    max-width: 1100px;
}

.check-label {
    font-size: 14px;
    color: #ff6b35;
    margin-bottom: 16px;
        margin-top: 120px;

}

.check-title {
    font-size: 20px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 80px;
    line-height: 1.5;
    
}

.check-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 800px;
    margin: 0 auto 80px;
}

.check-card {
    background: #fff;
    border-radius: 20px;
    padding: 60px 40px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
}

.check-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.check-card__icon {
    margin: 0 auto 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.check-card__icon img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.check-card__title {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 16px;
}

.check-card__desc {
    font-size: 14px;
    color: #7f8c8d;
    line-height: 1.7;
}

.check-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    position: relative;
}

.btn-check-back {
    padding: 16px 40px;
    background: #fff;
    border: 1px solid #dde1e7;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    color: #7f8c8d;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-check-back:hover {
    border-color: #2c3e50;
    color: #2c3e50;
}

.btn-check-start {
    padding: 16px 48px;
    background: #1a1a1a;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-check-start:hover {
    background: #2c3e50;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.btn-check-exit {
     padding: 16px 40px;
    background: transparent;
    border: none;
    font-size: 15px;
    font-weight: 600;
    color: #95a5a6;
    cursor: pointer;
    transition: color 0.2s ease;
    position: absolute;
    right: 0;
}

.btn-check-exit:hover {
    color: #2c3e50;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}


/* ==================== Camera Page ==================== */
.camera-section {
    padding: 40px 20px;
}

.camera-inner {
    max-width: 1400px;
    margin: 0 auto;
}

.camera-label {
    font-size: 14px;
    color: #ff6b35;
    margin-bottom: 16px;
    text-align: center;
    margin-top: 85px;
}

.camera-title {
    font-size: 20px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 40px;
    text-align: center;
}

.camera-screen {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 30px;
    margin-bottom: 30px;
}

.camera-video {
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 16 / 9;
}

.camera-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.camera-subtitle {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    padding: 20px;
    text-align: center;
}

.camera-subtitle p {
    font-size: 16px;
    color: #fff;
    font-weight: 500;
}

.camera-timer {
    background: #2c3e50;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.timer-circle {
    position: relative;
    width: 200px;
    height: 200px;
}

.timer-svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.timer-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.1);
    stroke-width: 8;
}

.timer-progress {
    fill: none;
    stroke: #fff;
    stroke-width: 8;
    stroke-linecap: round;
    stroke-dasharray: 565;
    stroke-dashoffset: 0;
    transition: stroke-dashoffset 1s linear;
}

.timer-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.timer-label {
    display: block;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 8px;
}

.timer-time {
    display: block;
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 2px;
}

.camera-actions {
    display: flex;
    justify-content: flex-end;
}

.btn-camera-exit {
    padding: 14px 36px;
    background: #1a1a1a;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-camera-exit:hover {
    background: #2c3e50;
}
.camera-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scaleX(-1); /* ← 좌우반전 */
}

/* ==================== Test Result Page ==================== */
.test-result-section {
    padding: 40px 20px;
}

.test-result-screen {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 30px;
    margin-bottom: 30px;
}

.test-result-video {
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 16 / 9;
}

.test-result-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scaleX(-1);
}

.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 2;
}

.video-play-btn:hover {
    transform: translate(-50%, -50%) scale(1.1);
}

.video-play-btn.hide {
    display: none;
}

.test-result-error {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: #e74c3c;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
}

.test-result-spacer {
    background: #2c3e50;
    border-radius: 12px;
}

.test-result-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    position: relative;
}

.btn-test-retry {
    padding: 16px 40px;
    background: #fff;
    border: 1px solid #dde1e7;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    color: #7f8c8d;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-test-retry:hover {
    border-color: #2c3e50;
    color: #2c3e50;
}

.btn-test-next {
    padding: 16px 48px;
    background: #95a5a6;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
}

.btn-test-next:hover {
    background: #7f8c8d;
}

.btn-test-exit {
    padding: 14px 36px;
    background: #1a1a1a;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
    transition: all 0.2s ease;
    position: absolute;
    right: 0;
}

.btn-test-exit:hover {
    background: #2c3e50;
}

/* 성공 메시지 바 (초록색) */
.test-result-success {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: #27ae60;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
}

/* 다음 버튼 활성화 상태 */
.btn-test-next--active {
    background: #1a1a1a;
}

.btn-test-next--active:hover {
    background: #2c3e50;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
/* 작은 모달 */
.modal--small {
    max-width: 400px;
}

.modal__body--center {
    padding: 50px 40px;
    text-align: center;
}

.modal__question {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
}

.modal__footer--buttons {
    display: flex;
    gap: 10px;
    padding: 20px 30px;
}

.modal__btn--cancel {
    flex: 1;
    padding: 14px 20px;
    background: #fff;
    border: 1px solid #dde1e7;
    color: #7f8c8d;
}

.modal__btn--cancel:hover {
    border-color: #2c3e50;
    color: #2c3e50;
    background: #fff;
}

.modal__btn--confirm {
    flex: 1;
    padding: 14px 20px;
}

/* ==================== Info Page ==================== */
.info-section {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 200px);
}

.info-inner {
    text-align: center;
    width: 100%;
    max-width: 1100px;
}

.info-label {
    font-size: 14px;
    color: #ff6b35;
    margin-bottom: 16px;
    margin-top: 85px;
}

.info-title {
    font-size: 20px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 80px;
    line-height: 1.6;
}

.info-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
    max-width: 900px;
    margin: 0 auto 80px;
}

.info-card {
    background: #fff;
    border-radius: 20px;
    padding: 50px 30px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.info-card__icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-card__icon img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.info-card__label {
    font-size: 14px;
    color: #7f8c8d;
    margin-bottom: 12px;
}

.info-card__value {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a1a;
}

.info-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    position: relative;
}

.btn-info-back {
    padding: 16px 40px;
    background: #fff;
    border: 1px solid #dde1e7;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    color: #7f8c8d;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-info-back:hover {
    border-color: #2c3e50;
    color: #2c3e50;
}

.btn-info-start {
    padding: 16px 48px;
    background: #1a1a1a;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-info-start:hover {
    background: #2c3e50;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.btn-info-exit {
    padding: 14px 36px;
    background: #1a1a1a;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
    transition: all 0.2s ease;
    position: absolute;
    right: 0;
}

.btn-info-exit:hover {
    background: #2c3e50;
}

/* ==================== Interview Active Page (생각/답변 공통) ==================== */
.interview-active-section {
    padding: 40px 20px;
}

.interview-active-inner {
    max-width: 1400px;
    margin: 0 auto;
}

.interview-active-label {
    font-size: 14px;
    color: #ff6b35;
    margin-bottom: 16px;
    text-align: center;
    margin-top: 85px;
}

.interview-active-question {
    font-size: 22px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 40px;
    text-align: center;
    line-height: 1.5;
}

.interview-active-screen {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 30px;
    margin-bottom: 30px;
}

.interview-active-video {
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 16 / 9;
}

.interview-active-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scaleX(-1);
}

.interview-active-status {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: #27ae60;
    padding: 20px;
    text-align: center;
}

.interview-active-status p {
    font-size: 16px;
    color: #fff;
    font-weight: 500;
}

/* 답변 시간일 때 빨간색 */
.interview-active-status.status-answer {
    background: #e74c3c;
}

.interview-active-timers {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.interview-timer {
    background: #2c3e50;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
}

.interview-timer--inactive {
    opacity: 0.5;
}

.interview-timer--active {
    opacity: 1;
}

.interview-active-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    position: relative;
}

.btn-interview-answer {
    padding: 16px 48px;
    background: #1a1a1a;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-interview-answer:hover {
    background: #2c3e50;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.btn-interview-exit {
    padding: 14px 36px;
    background: #1a1a1a;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
    transition: all 0.2s ease;
    position: absolute;
    right: 0;
}

.btn-interview-exit:hover {
    background: #2c3e50;
}

/* ==================== Complete Page ==================== */
.complete-section {
    padding: 40px 20px;
}

.complete-inner {
    max-width: 1400px;
    margin: 0 auto;
}

.complete-label {
    font-size: 14px;
    color: #ff6b35;
    margin-bottom: 16px;
    text-align: center;
    margin-top: 85px;
}

.complete-title {
    font-size: 22px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 40px;
    text-align: center;
}

.complete-screen {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 30px;
    margin-bottom: 30px;
}

.complete-video {
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 16 / 9;
}

.complete-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scaleX(-1);
    filter: blur(20px);
}

.complete-message {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: #27ae60;
    padding: 24px 30px;
    text-align: center;
}

.complete-message__title {
    font-size: 18px;
    color: #fff;
    font-weight: 700;
    margin-bottom: 8px;
}

.complete-message__desc {
    font-size: 14px;
    color: #fff;
    font-weight: 500;
}

.complete-spacer {
    background: #2c3e50;
    border-radius: 12px;
}

.complete-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    position: relative;
}

.btn-complete-result {
    padding: 16px 48px;
    background: #1a1a1a;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-complete-result:hover {
    background: #2c3e50;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.btn-complete-exit {
    padding: 14px 36px;
    background: #1a1a1a;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
    transition: all 0.2s ease;
    position: absolute;
    right: 0;
}

.btn-complete-exit:hover {
    background: #2c3e50;
}

/* ==================== Report Page ==================== */
.report-page-title {
    font-size: 26px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 30px;
}

.report-user-bar {
    background: #2c2c2c;
    padding: 20px 30px;
    display: flex;
    justify-content: space-around;
    margin-bottom: 25px;
    border-radius: 8px;
}

.report-user-item {
    text-align: center;
}

.report-user-label {
    font-size: 12px;
    color: #999;
    margin-bottom: 6px;
}

.report-user-value {
    font-size: 15px;
    color: #fff;
    font-weight: 600;
}

.report-main-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    animation: cardFadeIn 0.6s ease-out;
}

@keyframes cardFadeIn {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

.report-tab-menu {
    display: flex;
    border-bottom: 2px solid #f0f0f0;
}

.report-tab-btn {
    flex: 1;
    padding: 18px;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    font-size: 14px;
    color: #888;
    cursor: pointer;
    transition: all 0.3s ease;
}

.report-tab-btn:hover {
    color: #555;
}

.report-tab-btn.active {
    color: #000;
    font-weight: 700;
    border-bottom-color: #000;
}

.report-main-content {
    padding: 40px 50px;
}

.report-eval-section {
    margin-bottom: 50px;
}

.report-eval-title {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 25px;
}

.report-eval-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.report-gauge-wrap {
    margin-bottom: 25px;
}

.report-gauge-bar {
    height: 15px;
    display: flex;
    gap: 4px;
    position: relative;
    margin-bottom: 8px;
}

.report-gauge-section {
    flex: 1;
    border-radius: 4px;
    animation: sectionFill 0.8s ease-out forwards;
    transform-origin: left;
}

.report-gauge-section:nth-child(1) { 
    background: #e74c3c; 
    animation-delay: 0s;
}

.report-gauge-section:nth-child(2) { 
    background: #f39c12; 
    animation-delay: 0.1s;
}

.report-gauge-section:nth-child(3) { 
    background: #f1c40f; 
    animation-delay: 0.2s;
}

.report-gauge-section:nth-child(4) { 
    background: #27ae60; 
    animation-delay: 0.3s;
}

.report-gauge-section:nth-child(5) { 
    background: #3498db; 
    animation-delay: 0.4s;
}

@keyframes sectionFill {
    0% { transform: scaleX(0); }
    100% { transform: scaleX(1); }
}

.report-gauge-marker {
    position: absolute;
    top: -15px;
    transform: translateY(-50%);
    font-size: 18px;
    color: #000;
       animation: markerSlide 1s ease-out 0.8s backwards;

}

@keyframes markerSlide {
    0% { 
        left: 0;
        opacity: 0; 
    }
    100% { 
        opacity: 1; 
    }
}

.report-gauge-labels {
    display: flex;
    justify-content: space-around;
    font-size: 11px;
    color: #888;
}

.report-score-wrap {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 14px;
}

.report-score-num {
    font-size: 40px;
    font-weight: 700;
    animation: scoreCount 1.5s ease-out;
}

@keyframes scoreCount {
    0% { opacity: 0; transform: scale(0.5); }
    70% { transform: scale(1.1); }
    100% { opacity: 1; transform: scale(1); }
}

.report-score-text {
    font-size: 20px;
    color: #888;
    font-weight: 600;
}

.report-score-sub {
    font-size: 13px;
    margin-bottom: 10px;
}

.report-score-desc {
    font-size: 12px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 18px;
}

.report-tip-box {
    background: #f8f8f8;
    padding: 12px;
    border-radius: 6px;
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.report-tip-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.report-tip-text {
    font-size: 11px;
    color: #666;
    line-height: 1.5;
}

.report-time-wrap {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.report-time-row {
    display: flex;
    gap: 30px;
    height: 100%;
}

.report-time-box {
    flex: 1;
    text-align: center;
}

.report-time-label {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 12px;
}

.report-circle {
    position: relative;
    width: 220px;
    margin: 0 auto;
}

.report-circle svg {
    width: 100%;
    height: 100%;
}

.report-time-box:first-child .report-circle svg circle:nth-child(2) {
    animation: circleFill1 1.5s ease-out forwards;
}

@keyframes circleFill1 {
    0% { stroke-dashoffset: 314; }
    100% { stroke-dashoffset: 50; }
}

.report-time-box:last-child .report-circle svg circle:nth-child(2) {
    animation: circleFill2 1.5s ease-out 0.3s forwards;
}

@keyframes circleFill2 {
    0% { stroke-dashoffset: 314; }
    100% { stroke-dashoffset: 270; }
}

.report-circle-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.report-circle-time {
    font-size: 26px;
    font-weight: 700;
    display: block;
}

.report-circle-sub {
    font-size: 10px;
    color: #888;
    display: block;
    margin-top: 2px;
}

.report-q-section {
    border-top: 1px solid #e0e0e0;
    padding-top: 40px;
}

.report-q-title {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 20px;
}

.report-q-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.report-q-tab {
    padding: 8px 18px;
    background: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 13px;
    color: #666;
    cursor: pointer;
    transition: all 0.2s ease;
}

.report-q-tab:hover {
    background: #e8e8e8;
}

.report-q-tab.active {
    background: #2c2c2c;
    color: #fff;
    border-color: #2c2c2c;
}

.tab_cont { display: none; }
.tab_cont.on { display: block; }

.report-q-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.report-video {
    background: #ddd;
    border-radius: 8px;
    overflow: hidden;
    height: 320px;
}

.report-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.report-q-head {
    margin-bottom: 20px;
}

.report-q-num {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 12px;
}

.report-q-box {
    background: #f8f8f8;
    padding: 16px;
    border-radius: 6px;
    height: 320px;
}

.report-q-label {
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 8px;
}

.report-q-text {
    font-size: 12px;
    color: #666;
    line-height: 1.6;
}

.report-evals {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 20px;
}

.report-eval-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 16px;
    animation: evalCardIn 0.5s ease-out backwards;
}

.report-eval-card:nth-child(1) { animation-delay: 0.1s; }
.report-eval-card:nth-child(2) { animation-delay: 0.2s; }
.report-eval-card:nth-child(3) { animation-delay: 0.3s; }
.report-eval-card:nth-child(4) { animation-delay: 0.4s; }

@keyframes evalCardIn {
    0% { opacity: 0; transform: translateX(-20px); }
    100% { opacity: 1; transform: translateX(0); }
}

.report-eval-head {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.report-eval-icon {
    width: 18px;
    height: 18px;
}

.report-eval-name {
    font-size: 13px;
    font-weight: 700;
    flex: 1;
}

.report-eval-stars {
    display: flex;
    gap: 2px;
}

.report-eval-stars img {
    width: 14px;
    height: 14px;
    animation: starPop 0.3s ease-out backwards;
}

.report-eval-stars img:nth-child(1) { animation-delay: 0.5s; }
.report-eval-stars img:nth-child(2) { animation-delay: 0.6s; }
.report-eval-stars img:nth-child(3) { animation-delay: 0.7s; }
.report-eval-stars img:nth-child(4) { animation-delay: 0.8s; }
.report-eval-stars img:nth-child(5) { animation-delay: 0.9s; }

@keyframes starPop {
    0% { opacity: 0; transform: scale(0) rotate(-180deg); }
    70% { transform: scale(1.2) rotate(10deg); }
    100% { opacity: 1; transform: scale(1) rotate(0); }
}

.report-eval-text {
    font-size: 11px;
    color: #666;
    line-height: 1.5;
}

.report-footer {
    text-align: center;
    margin: 40px 0;
}

.report-list-btn {
    padding: 14px 50px;
    background: #2c2c2c;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.report-list-btn:hover {
    background: #1a1a1a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.font-b { 
    font-weight: 700;
}


/* ==================== Animations ==================== */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}
/* ==================== Voice Analysis Report ==================== */
/* style.css 맨 아래 추가 */

.report-section-title {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 20px;
}

/* 음성 평점 */
.voice-rating-section {
    margin-bottom: 50px;
}

.voice-gauge-wrap {
    margin-bottom: 25px;
    width: 50%;
}

.voice-score-info {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 14px;
}

.voice-score-num {
    font-size: 40px;
    font-weight: 700;
    animation: scoreCount 1.5s ease-out;
}

.voice-score-text {
    font-size: 20px;
    color: #888;
    font-weight: 600;
}

.voice-score-desc {
    font-size: 12px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 18px;
}

/* 학소과 분석/속도 */
.voice-analysis-section,
.voice-speed-section {
    margin-bottom: 50px;
}

.voice-section-subtitle {
    font-size: 13px;
    color: #2c3e50;
    margin-bottom: 20px;
}

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

.voice-table-wrap {
    overflow-x: auto;
    animation: fadeInLeft 0.6s ease-out;
}

@keyframes fadeInLeft {
    0% { opacity: 0; transform: translateX(-20px); }
    100% { opacity: 1; transform: translateX(0); }
}

.voice-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}

.voice-table thead {
    background: #f8f9fa;
}

.voice-table th {
    padding: 12px 16px;
    text-align: left;
    font-size: 13px;
    font-weight: 700;
    color: #2c3e50;
    border-bottom: 2px solid #e0e0e0;
}

.voice-table td {
    padding: 14px 16px;
    font-size: 12px;
    color: #666;
    border-bottom: 1px solid #f0f0f0;
}

.voice-table tbody tr {
    animation: tableRowFadeIn 0.5s ease-out backwards;
}

.voice-table tbody tr:nth-child(1) { animation-delay: 0.1s; }
.voice-table tbody tr:nth-child(2) { animation-delay: 0.2s; }
.voice-table tbody tr:nth-child(3) { animation-delay: 0.3s; }
.voice-table tbody tr:nth-child(4) { animation-delay: 0.4s; }
.voice-table tbody tr:nth-child(5) { animation-delay: 0.5s; }

@keyframes tableRowFadeIn {
    0% { opacity: 0; transform: translateY(10px); }
    100% { opacity: 1; transform: translateY(0); }
}

.voice-table tbody tr:hover {
    background: #fafbfc;
}

.voice-table .highlight-row {
    background: #fff5f2;
}

.voice-table .highlight-row td {
    color: #ff6b35;
    font-weight: 600;
}

.voice-chart-wrap {
    height: 300px;
    animation: fadeInRight 0.6s ease-out;
}

@keyframes fadeInRight {
    0% { opacity: 0; transform: translateX(20px); }
    100% { opacity: 1; transform: translateX(0); }
}

.voice-advice-box {
    background: #fff5e6;
    padding: 16px;
    border-radius: 6px;
    border-left: 4px solid #ff9800;
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

.advice-label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #ff6b35;
    margin-bottom: 8px;
}

.voice-advice-box p {
    font-size: 12px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 8px;
}

.voice-advice-box p:last-child {
    margin-bottom: 0;
}

/* 단어 빈도 분석 */
.voice-word-section {
    margin-bottom: 50px;
}

.voice-word-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.voice-word-col {
    background: #fff;
}

.voice-word-title {
    font-size: 15px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 8px;
}

.voice-word-subtitle {
    font-size: 12px;
    color: #888;
    margin-bottom: 20px;
}

.voice-bubble-wrap {
    position: relative;
    height: 350px;
    margin-bottom: 20px;
}

.voice-bubble {
    position: absolute;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    animation: bubblePop 0.6s ease-out backwards;
}

@keyframes bubblePop {
    0% { 
        opacity: 0; 
        transform: scale(0);
    }
    50% {
        transform: scale(1.1);
    }
    100% { 
        opacity: 1; 
        transform: scale(1);
    }
}

.voice-bubble:hover {
    transform: scale(1.05);
}

/* 좌측 버블 (자주 사용하는 단어) - 순차 애니메이션 */
.voice-bubble-1 { width: 180px; height: 180px; background: #ff8c42; top: 0; left: 0; animation-delay: 0.1s; }
.voice-bubble-2 { width: 140px; height: 140px; background: #ffa361; top: 20px; left: 160px; animation-delay: 0.2s; }
.voice-bubble-3 { width: 100px; height: 100px; background: #ffb380; top: 180px; left: 60px; animation-delay: 0.3s; }
.voice-bubble-4 { width: 130px; height: 130px; background: #ff9d54; top: 160px; left: 200px; animation-delay: 0.4s; }
.voice-bubble-5 { width: 120px; height: 120px; background: #ffae6e; top: 80px; left: 280px; animation-delay: 0.5s; }
.voice-bubble-6 { width: 90px; height: 90px; background: #ccc; top: 240px; left: 180px; animation-delay: 0.6s; }
.voice-bubble-7 { width: 110px; height: 110px; background: #ffc599; top: 200px; left: 350px; animation-delay: 0.7s; }
.voice-bubble-8 { width: 85px; height: 85px; background: #ddd; top: 100px; left: 40px; animation-delay: 0.8s; }
.voice-bubble-9 { width: 95px; height: 95px; background: #e5e5e5; top: 50px; left: 380px; animation-delay: 0.9s; }
.voice-bubble-10 { width: 80px; height: 80px; background: #f0f0f0; top: 280px; left: 280px; animation-delay: 1s; }

/* 우측 버블 (사용하지 말아야 할 단어) - 순차 애니메이션 */
.voice-bubble-bad-1 { width: 160px; height: 160px; background: #ff8c42; top: 20px; left: 0; animation-delay: 0.2s; }
.voice-bubble-bad-2 { width: 200px; height: 200px; background: #ff7733; top: 60px; left: 140px; animation-delay: 0.4s; }
.voice-bubble-bad-3 { width: 120px; height: 120px; background: #ffa361; top: 200px; left: 80px; animation-delay: 0.6s; }
.voice-bubble-bad-4 { width: 140px; height: 140px; background: #ff9d54; top: 160px; left: 280px; animation-delay: 0.8s; }
.voice-bubble-bad-5 { width: 180px; height: 180px; background: #ff6624; top: 100px; left: 360px; animation-delay: 1s; }

.voice-word-note {
    background: #f8f9fa;
    padding: 12px;
    border-radius: 6px;
}

.voice-word-note p {
    font-size: 11px;
    color: #666;
    line-height: 1.5;
}

/* ==================== Posture Analysis Report ==================== */

/* 자세평점 */
.posture-rating-section {
    margin-bottom: 50px;
}

.posture-gauge-wrap {
    margin-bottom: 25px;
    width: 50%;
}

.posture-score-info {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 14px;
}

.posture-score-num {
    font-size: 40px;
    font-weight: 700;
    animation: scoreCount 1.5s ease-out;
}

.posture-score-text {
    font-size: 20px;
    color: #888;
    font-weight: 600;
}

.posture-score-desc {
    font-size: 12px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 18px;
}

/* 배지 */
.posture-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    margin-left: 8px;
}
.posture-badge-bad {
    background: #f0f0f0;
    color: #000000;
}

.posture-badge-normal {
    background: #fff3e0;
    color: #ff9800;
}

.posture-badge-good {
    background: #e8f5e9;
    color: #4caf50;
}

/* 자세/제스처 섹션 */
.posture-pose-section,
.posture-gesture-section {
    margin-bottom: 50px;
}

.posture-section-desc {
    font-size: 13px;
    color: #666;
    line-height: 1.7;
    margin-bottom: 30px;
}

.posture-content-grid {
    display: grid;
    grid-template-columns: 40% 1fr;
    gap: 40px;
    margin-bottom: 20px;
    align-items: center;
}

.posture-silhouette-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInLeft 0.6s ease-out;
    background-color: #F3F3F3;
}

.posture-silhouette {
    position: relative;
    padding: 40px;
    border-radius: 12px;
    width: 400px;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* 기본 3D 모델 이미지 - 고정 (움직이지 않음) */
.posture-base-img {
    max-width: 100%;
    height: auto;
    position: relative;
    z-index: 1;
}

/* 자세 - 어깨라인 오버레이 (데이터에 따라 위치/각도 변경 가능) */
.posture-overlay-img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 100%;
    height: auto;
    z-index: 2;
    /* 데이터 기반 동적 조정: style="transform: translate(-50%, -50%) rotate(2deg);" */
    transition: all 0.3s ease;
    animation: overlayAppear 1s ease-out 0.5s backwards, overlayPulse 3s ease-in-out 1.5s infinite;
}

/* 어깨라인 처음 나타날 때 애니메이션 */
@keyframes overlayAppear {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.8);
    }
    100% {
        opacity: 0.9;
        transform: translate(-50%, -50%) scale(1);
    }
}

/* 어깨라인 지속 펄스 효과 */
@keyframes overlayPulse {
    0%, 100% {
        opacity: 0.7;
    }
    50% {
        opacity: 1;
    }
}

/* 제스처 - 손 아이콘 오버레이 (데이터에 따라 위치 변경 가능) */
.gesture-hand {
    position: absolute;
    width: 30px;
    height: 30px;
    z-index: 2;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
    /* 데이터 기반 동적 조정: style="top: 15%; left: 45%;" */
    transition: all 0.3s ease;
    animation: handAppear 0.8s ease-out backwards, handFloat 2s ease-in-out infinite;
}

/* 각 손 위치 - 기본값 (데이터로 덮어쓰기 가능) */
.gesture-hand-head {
    top: 12%;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 0.6s, 1.4s;
}

.gesture-hand-left {
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    animation-delay: 0.8s, 1.6s;
}

.gesture-hand-right {
    top: 50%;
    right: 10%;
    transform: translateY(-50%);
    animation-delay: 1s, 1.8s;
}

/* 손 아이콘 처음 나타날 때 애니메이션 */
@keyframes handAppear {
    0% {
        opacity: 0;
        transform: scale(0);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* 손 아이콘 지속 Float 효과 */
@keyframes handFloat {
    0%, 100% {
        filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
        opacity: 0.8;
    }
    50% {
        filter: drop-shadow(0 6px 8px rgba(0,0,0,0.4));
        opacity: 1;
    }
}

.posture-table-wrap {
    animation: fadeInRight 0.6s ease-out;
}

.posture-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    border-radius: 8px;
    overflow: hidden;
}

.posture-table thead {
    background: #f8f9fa;
}

.posture-table th {
    padding: 16px 20px;
    text-align: left;
    font-size: 13px;
    font-weight: 700;
    color: #2c3e50;
    border-bottom: 2px solid #e0e0e0;
}

.posture-table td {
    padding: 16px 20px;
    font-size: 13px;
    color: #666;
    border-bottom: 1px solid #f0f0f0;
}

.posture-table tbody tr {
    animation: tableRowFadeIn 0.5s ease-out backwards;
}

.posture-table tbody tr:nth-child(1) { animation-delay: 0.1s; }
.posture-table tbody tr:nth-child(2) { animation-delay: 0.2s; }
.posture-table tbody tr:nth-child(3) { animation-delay: 0.3s; }

.posture-table tbody tr:hover {
    background: #fafbfc;
}

.posture-table tbody tr:last-child td {
    border-bottom: none;
}

.posture-highlight {
    color: #ff6b35 !important;
    font-weight: 700;
}

.posture-advice-box {
    background: #fff5e6;
    padding: 16px;
    border-radius: 6px;
    border-left: 4px solid #ff9800;
    animation: fadeInUp 0.6s ease-out;
}

.posture-advice-box p {
    font-size: 12px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 8px;
}

.posture-advice-box p:last-child {
    margin-bottom: 0;
}

/* 시선포즈 섹션 */
.posture-gaze-section {
    margin-bottom: 50px;
}

.posture-chart-wrap {
    height: 300px;
    margin-bottom: 20px;
    animation: fadeInUp 0.6s ease-out;
}

/* 긴장상태 섹션 */
.posture-tension-section {
    margin-bottom: 50px;
}

.posture-tension-grid {
    display: grid;
    grid-template-columns: 50% 1fr;
    gap: 40px;
    margin-bottom: 20px;
}

.posture-tension-chart {
    animation: fadeInLeft 0.6s ease-out;
}

.posture-tension-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    animation: fadeInRight 0.6s ease-out;
}

.tension-item {
    background: #fff;
    padding: 16px 20px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
    animation: slideInRight 0.5s ease-out backwards;
}

.tension-item:nth-child(1) { animation-delay: 0.1s; }
.tension-item:nth-child(2) { animation-delay: 0.2s; }
.tension-item:nth-child(3) { animation-delay: 0.3s; }
.tension-item:nth-child(4) { animation-delay: 0.4s; }
.tension-item:nth-child(5) { animation-delay: 0.5s; }

@keyframes slideInRight {
    0% { opacity: 0; transform: translateX(20px); }
    100% { opacity: 1; transform: translateX(0); }
}

.tension-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.tension-label {
    font-size: 14px;
    font-weight: 700;
    color: #2c3e50;
}

.tension-percent {
    font-size: 16px;
    font-weight: 700;
    color: #ff6b35;
}

.tension-desc {
    font-size: 12px;
    color: #666;
    line-height: 1.6;
}



/* ==================== 데이터 기반 동적 조정 예시 ====================
HTML에서 inline style로 위치 조정:

어깨라인 각도 조정:
<img src="..." class="posture-overlay-img" 
     style="transform: translate(-50%, -50%) rotate(2deg);">

손 위치 조정:
<img src="..." class="gesture-hand gesture-hand-head" 
     style="top: 15%; left: 45%;">
<img src="..." class="gesture-hand gesture-hand-left" 
     style="top: 55%; left: 8%;">
<img src="..." class="gesture-hand gesture-hand-right" 
     style="top: 48%; right: 12%;">

또는 JS에서 동적으로:
document.querySelector('.posture-overlay-img').style.transform = 
    `translate(-50%, -50%) rotate(${angle}deg)`;
document.querySelector('.gesture-hand-head').style.top = `${y}%`;
document.querySelector('.gesture-hand-head').style.left = `${x}%`;
*/



/* ==================== Tension Analysis Report ==================== */
/* style.css 맨 아래 추가 */

/* 상단 2열 그리드 */
.tension-top-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 50px;
}

.tension_yellow {
    background : #F4D94B !important;
}

.tension_green {
    background: #6FC447 !important;
}

/* 좌측: 긴장도 평점 박스 */
.tension-rating-box {
    background: #fff;
}

.tension-gauge-wrap {
    margin-bottom: 25px;
}

.tension-score-main {
    margin-bottom: 4px;
}

.tension-score-big {
    font-size: 28px;
    font-weight: 700;
    color: #2c3e50;
}

.tension-score-sub {
    margin-bottom: 12px;
}

.tension-score-medium {
    font-size: 18px;
    font-weight: 700;
    color: #666;
}

.tension-score-desc {
    font-size: 12px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 18px;
}

/* 우측: 심박수/상 박스 */
.tension-heartrate-box {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    animation: fadeInRight 0.6s ease-out;
}

.tension-box-title {
    font-size: 16px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
}

.tension-status-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 15px;
    margin-bottom: 25px;
}

.tension-status-item {
    text-align: center;
}

.tension-status-label {
    font-size: 11px;
    color: #888;
    margin-bottom: 6px;
}

.tension-status-value {
    font-size: 14px;
    font-weight: 700;
    color: #2c3e50;
}

.tension-hearts-row {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.tension-heart-mini {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    animation: heartPop 0.6s ease-out backwards;
}

.tension-heart-mini:nth-child(1) { animation-delay: 0.1s; }
.tension-heart-mini:nth-child(2) { animation-delay: 0.2s; }
.tension-heart-mini:nth-child(3) { animation-delay: 0.3s; }

@keyframes heartPop {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.heart-mini-icon {
    width: 32px;
    height: 32px;
    animation: heartBeat 1.5s ease-in-out infinite;
}

@keyframes heartBeat {
    0%, 100% {
        transform: scale(1);
    }
    10%, 30% {
        transform: scale(1.15);
    }
    20%, 40% {
        transform: scale(0.95);
    }
}

.heart-mini-value {
    font-size: 20px;
    font-weight: 700;
    color: #2c3e50;
}

.heart-mini-unit {
    font-size: 11px;
    color: #888;
    font-weight: 600;
    margin-left: 2px;
}

/* 호흡 긴장도 섹션 */
.tension-breath-section {
    margin-bottom: 50px;
}

.tension-section-desc {
    font-size: 13px;
    color: #666;
    line-height: 1.7;
    margin-bottom: 30px;
}

.tension-chart-wrap {
    height: 350px;
    margin-bottom: 20px;
    animation: fadeInUp 0.6s ease-out;
}

.tension-breath-note {
    background: #f8f9fa;
    padding: 16px;
    border-radius: 6px;
    margin-bottom: 20px;
}

.tension-breath-note p {
    font-size: 12px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 0;
}

/* 높은/낮은 긴장도 질문 섹션 */
.tension-question-section {
    margin-bottom: 50px;
}

.tension-question-grid {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 40px;
    align-items: start;
}

.tension-question-chart {
    height: 300px;
    animation: fadeInLeft 0.6s ease-out;
}

.tension-question-info {
    animation: fadeInRight 0.6s ease-out;
}

.tension-question-label {
    font-size: 14px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 12px;
}

.tension-question-text {
    font-size: 12px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.tension-bpm-box {
    background: #f8f9fa;
    padding: 16px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 4px solid #ff6b35;
}

.tension-bpm-label {
    font-size: 12px;
    color: #666;
    margin-bottom: 8px;
}

.tension-bpm-value {
    font-size: 32px;
    font-weight: 700;
    color: #ff6b35;
}

.tension-question-advice {
    font-size: 12px;
    color: #666;
    line-height: 1.6;
}
/* ==================== Answer Analysis Report ==================== */
/* style.css 맨 아래 추가 */

/* 답변분석 평점 */
.answer-rating-section {
    margin-bottom: 50px;
}

.answer-gauge-wrap {
    margin-bottom: 25px;
    width: 50%;
}

.answer-score-info {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 14px;
}

.answer-score-num {
    font-size: 40px;
    font-weight: 700;
    animation: scoreCount 1.5s ease-out;
}

.answer-score-text {
    font-size: 20px;
    color: #888;
    font-weight: 600;
}

.answer-score-desc {
    font-size: 12px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 18px;
}

/* 질문별 역량 분석 */
.answer-question-section {
    margin-bottom: 50px;
}

.answer-question-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 30px;
    overflow-x: auto;
    padding-bottom: 5px;
}

.answer-question-tab {
    padding: 10px 20px;
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-size: 13px;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.answer-question-tab:hover {
    background: #fff;
    border-color: #ff6b35;
    color: #ff6b35;
}

.answer-question-tab.active {
    background: #ff6b35;
    border-color: #ff6b35;
    color: #fff;
    font-weight: 700;
}

.answer-question-content {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    animation: fadeInUp 0.6s ease-out;
    display: none;
}
.answer-question-content.active {
    display: block;
}

/* 별점 */
.answer-stars {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.answer-stars-label {
    font-size: 16px;
    font-weight: 700;
    color: #2c3e50;
}

.answer-stars-icons {
    display: flex;
    gap: 8px;
}

.answer-star {
    width: 32px;
    height: 32px;
    animation: starPop 0.5s ease-out backwards;
}

.answer-star:nth-child(1) { animation-delay: 0.1s; }
.answer-star:nth-child(2) { animation-delay: 0.2s; }
.answer-star:nth-child(3) { animation-delay: 0.3s; }

@keyframes starPop {
    0% {
        opacity: 0;
        transform: scale(0) rotate(-180deg);
    }
    70% {
        transform: scale(1.2) rotate(10deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotate(0);
    }
}

/* 질문 제목 */
.answer-question-title {
    font-size: 14px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
}

/* 역량 분석 박스 */
.answer-analysis-box {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.answer-analysis-title {
    font-size: 13px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 12px;
}

.answer-analysis-text {
    font-size: 12px;
    color: #666;
    line-height: 1.7;
    margin-bottom: 12px;
}

.answer-analysis-text:last-child {
    margin-bottom: 0;
}

/* 추출 단어 */
.answer-keywords {
    display: flex;
    align-items: center;
    gap: 15px;
}

.answer-keywords-label {
    font-size: 13px;
    font-weight: 700;
    color: #2c3e50;
}

.answer-keywords-list {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.answer-keyword {
    display: inline-block;
    padding: 6px 16px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    font-size: 12px;
    color: #666;
    transition: all 0.3s ease;
    animation: keywordSlide 0.5s ease-out backwards;
}

.answer-keyword:nth-child(1) { animation-delay: 0.1s; }
.answer-keyword:nth-child(2) { animation-delay: 0.2s; }

@keyframes keywordSlide {
    0% {
        opacity: 0;
        transform: translateX(-10px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.answer-keyword:hover {
    background: #ff6b35;
    border-color: #ff6b35;
    color: #fff;
}

/* 종합 학업역량 분석 */
.answer-competency-section {
    margin-bottom: 50px;
}

.answer-competency-item {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    margin-bottom: 20px;
    animation: fadeInUp 0.6s ease-out backwards;
}

.answer-competency-item:nth-child(2) { animation-delay: 0.1s; }
.answer-competency-item:nth-child(3) { animation-delay: 0.2s; }

.answer-competency-title {
    font-size: 16px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 12px;
}

.answer-competency-text {
    font-size: 12px;
    color: #666;
    line-height: 1.7;
}


/* ==================== Settings Page ==================== */
/* style.css 맨 아래 추가 */

.settings-card {
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
    background: #fff;
    border-radius: 12px;
    padding: 60px 70px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.settings-title {
    font-size: 28px;
    font-weight: 700;
    color: #2c3e50;
    text-align: center;
    margin-bottom: 50px;
}

.settings-group {
    margin-bottom: 25px;
}

.settings-label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 8px;
}

.required {
    color: #e74c3c;
}

.settings-input {
    width: 100%;
    height: 48px;
    padding: 0 16px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.settings-input:focus {
    outline: none;
    border-color: #ff6b35;
}

.settings-input:read-only {
    background: #f8f9fa;
    color: #999;
}

.settings-input.is-error {
    border-color: #e74c3c;
}

.settings-input-wrap {
    position: relative;
}

.settings-input-wrap .btn-eye {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    width: 24px;
    height: 24px;
}

.settings-input-wrap .btn-eye svg {
    width: 20px;
    height: 20px;
    color: #999;
    transition: color 0.3s ease;
}

.settings-input-wrap .btn-eye:hover svg {
    color: #666;
}

.settings-hint {
    font-size: 11px;
    color: #666;
    margin-top: 6px;
}

.settings-error {
    font-size: 11px;
    color: #e74c3c;
    margin-top: 6px;
}

.settings-phone-wrap {
    display: flex;
    gap: 10px;
}

.settings-phone-input {
    flex: 1;
}

.btn-verify {
    width: 100px;
    height: 48px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #2c3e50;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-verify:hover {
    background: #f8f9fa;
    border-color: #ff6b35;
    color: #ff6b35;
}

.settings-birth-input {
    background: #f8f9fa;
    cursor: pointer;
}

.settings-gender-wrap {
    display: flex;
    gap: 10px;
}

.btn-gender {
    flex: 1;
    height: 48px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-gender:hover {
    border-color: #ff6b35;
    color: #ff6b35;
}

.btn-gender.active {
    background: #ff6b35;
    border-color: #ff6b35;
    color: #fff;
}

.settings-buttons {
    display: flex;
    gap: 12px;
    margin-top: 40px;
}

.btn-cancel,
.btn-submit {
    flex: 1;
    height: 54px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-cancel {
    background: #fff;
    border: 1px solid #ddd;
    color: #666;
}

.btn-cancel:hover {
    background: #f8f9fa;
    border-color: #999;
    color: #2c3e50;
}

.btn-submit {
    background: #2c3e50;
    border: none;
    color: #fff;
}

.btn-submit:hover {
    background: #1a252f;
}

.settings-footer {
    text-align: center;
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid #f0f0f0;
}

.settings-withdraw {
    font-size: 13px;
    color: #999;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.settings-withdraw:hover {
    color: #e74c3c;
}

/* 모달 - Settings 전용 */
.settings-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 10000;
}

.settings-modal.is-show {
    display: block;
}

.settings-modal .modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 10001;
}

.settings-modal .modal-content {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 480px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    z-index: 10002;
    animation: modalSlideUp 0.3s ease-out;
}

@keyframes modalSlideUp {
    0% {
        opacity: 0;
        transform: translate(-50%, -45%);
    }
    100% {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

.modal-body {
    padding: 50px 40px;
}

.modal-message {
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
    text-align: center;
    line-height: 1.6;
}

.modal-footer {
    display: flex;
    border-top: 1px solid #f0f0f0;
}

.modal-btn {
    flex: 1;
    height: 54px;
    border: none;
    background: none;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-btn-cancel {
    color: #999;
    border-right: 1px solid #f0f0f0;
}

.modal-btn-cancel:hover {
    background: #f8f9fa;
    color: #666;
}

.modal-btn-confirm {
    color: #ff6b35;
}

.modal-btn-confirm:hover {
    background: #fff5f0;
}

.modal-btn:first-child:last-child {
    border-radius: 0 0 12px 12px;
}

.modal-btn:first-child {
    border-radius: 0 0 0 12px;
}

.modal-btn:last-child {
    border-radius: 0 0 12px 0;
}

/* ==================== Results List Page ==================== */
/* style.css 맨 아래 추가 */

/* 탭 메뉴 */
.results-tabs {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
    border-bottom: 2px solid #f0f0f0;
}

.results-tab {
    padding: 15px 0;
    background: none;
    border: none;
    font-size: 16px;
    font-weight: 600;
    color: #999;
    cursor: pointer;
    position: relative;
    transition: color 0.3s ease;
}

.results-tab:hover {
    color: #666;
}

.results-tab.active {
    color: #2c3e50;
}

.results-tab.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #2c3e50;
}

/* 테이블 */
.results-table-wrap {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    margin-bottom: 30px;
}

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

.results-table thead {
    background: #f8f9fa;
}

.results-table th {
    padding: 18px 20px;
    font-size: 13px;
    font-weight: 700;
    color: #2c3e50;
    text-align: center;
    border-bottom: 2px solid #e0e0e0;
}

.results-table th.sortable {
    cursor: pointer;
    user-select: none;
    transition: background 0.3s ease;
}

.results-table th.sortable:hover {
    background: #f0f0f0;
}

.results-table th.sortable.asc .sort-icon {
    color: #ff6b35;
}

.results-table th.sortable.desc .sort-icon {
    color: #ff6b35;
    transform: rotate(180deg);
    display: inline-block;
}

.th-no {
    width: 80px;
}

.th-thumbnail {
    width: 120px;
}

.th-score {
    width: 150px;
}

.th-major {
    width: 250px;
}

.th-date {
    width: 150px;
}

.th-action {
    width: 200px;
}

.sort-icon {
    margin-left: 4px;
    color: #999;
    font-size: 11px;
}

.results-table tbody tr {
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.3s ease;
}

.results-table tbody tr:nth-child(1) { animation-delay: 0.05s; }
.results-table tbody tr:nth-child(2) { animation-delay: 0.1s; }
.results-table tbody tr:nth-child(3) { animation-delay: 0.15s; }
.results-table tbody tr:nth-child(4) { animation-delay: 0.2s; }
.results-table tbody tr:nth-child(5) { animation-delay: 0.25s; }
.results-table tbody tr:nth-child(6) { animation-delay: 0.3s; }
.results-table tbody tr:nth-child(7) { animation-delay: 0.35s; }
.results-table tbody tr:nth-child(8) { animation-delay: 0.4s; }
.results-table tbody tr:nth-child(9) { animation-delay: 0.45s; }
.results-table tbody tr:nth-child(10) { animation-delay: 0.5s; }

.results-table tbody tr:hover {
    background: #fafbfc;
}

.results-table tbody tr:last-child {
    border-bottom: none;
}

.results-table td {
    padding: 20px;
    font-size: 14px;
    color: #666;
    text-align: center;
    align-content: center;
}

.result-thumbnail {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.result-thumbnail-empty {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    background: #e0e0e0;
    margin: 0 auto;
}

.btn-result-view,
.btn-result-continue {
    padding: 10px 20px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #fff;
    font-size: 13px;
    font-weight: 600;
    color: #2c3e50;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-result-view:hover,
.btn-result-continue:hover {
    background: #2c3e50;
    border-color: #2c3e50;
    color: #fff;
}

/* 에러 상태 */
.row-error {
    background: #fff5f5;
}

.result-error {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.error-icon {
    font-size: 18px;
    color: #e74c3c;
}

.error-text {
    font-size: 11px;
    color: #e74c3c;
    line-height: 1.4;
    text-align: left;
}

/* 페이지네이션 */
.results-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-bottom: 40px;
}

.page-btn,
.page-num {
    width: 36px;
    height: 36px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #fff;
    font-size: 14px;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
}

.page-btn:hover,
.page-num:hover {
    background: #f8f9fa;
    border-color: #999;
}

.page-num.active {
    background: #2c3e50;
    border-color: #2c3e50;
    color: #fff;
}

.page-first,
.page-last {
    font-size: 16px;
}

/* 하단 버튼 */
.results-bottom {
    text-align: center;
    margin-bottom: 60px;
}

.btn-start-interview {
    padding: 16px 40px;
    background: #2c3e50;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-start-interview:hover {
    background: #1a252f;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(44,62,80,0.3);
}

/* 빈 상태 */
.results-empty {
    text-align: center;
    padding: 100px 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    margin-bottom: 40px;
}

.empty-icon {
    font-size: 64px;
    margin-bottom: 20px;
    opacity: 0.3;
}

.empty-title {
    font-size: 20px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 12px;
}

.empty-desc {
    font-size: 14px;
    color: #999;
    line-height: 1.6;
    margin-bottom: 30px;
}

.btn-empty-start {
    padding: 14px 32px;
    background: #ff6b35;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-empty-start:hover {
    background: #e55a28;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255,107,53,0.3);
}

/* ==================== Responsive Design ==================== */
@media (max-width: 1200px) {
    .charts-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
    }
    
    .sidebar.active {
        transform: translateX(0);
    }

    .main-content {
        margin-left: 0;
        padding: 20px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .ranking-grid {
        grid-template-columns: 1fr;
    }

    .medal-grid {
        grid-template-columns: 1fr;
    }

    .header {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }

    .header-right {
        width: 100%;
        justify-content: space-between;
    }

    .ranking-bubble-container {
        flex-wrap: wrap;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stat-value {
        font-size: 24px;
    }

    .bubble-large {
        width: 140px;
        height: 140px;
        font-size: 36px;
    }

    .bubble-medium {
        width: 100px;
        height: 100px;
        font-size: 24px;
    }
}

/* ==================== Find ID/Password Pages ==================== */
.find-result-box {
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 24px;
    margin: 24px 0;
    text-align: center;
}

.find-result-label {
    font-size: 13px;
    color: #666;
    margin-bottom: 8px;
    font-weight: 500;
}

.find-result-value {
    font-size: 20px;
    font-weight: 700;
    color: #2c3e50;
    letter-spacing: 0.5px;
}

/* ==================== User Dropdown ==================== */
.user-dropdown {
    position: relative;
}

.user-info-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 500;
    color: #2c3e50;
}

.user-info-btn:hover {
    background: #f8f9fa;
    border-color: #ccc;
}

.user-info-btn .user-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.dropdown-icon {
    transition: transform 0.3s ease;
    color: #666;
}

.user-dropdown.active .dropdown-icon {
    transform: rotate(180deg);
}

.user-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    min-width: 160px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    overflow: hidden;
}

.user-dropdown.active .user-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 12px 16px;
    background: none;
    border: none;
    text-align: left;
    font-size: 14px;
    font-weight: 500;
    color: #2c3e50;
    cursor: pointer;
    transition: background 0.2s ease;
    text-decoration: none;
}

.dropdown-item:hover {
    background: #f8f9fa;
}

.dropdown-item span:first-child {
    font-size: 16px;
}

.dropdown-item.btn-logout {
    border-top: 1px solid #e0e0e0;
    color: #e74c3c;
}

.dropdown-item.btn-logout:hover {
    background: #fff5f5;
}
