/* ==========================================
   관리자 페이지 스타일
   ========================================== */

/* 관리자 로그인 페이지 */
.admin-login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #F8F9FA;
    position: relative;
    overflow: hidden;
    padding: 2rem;
}

.login-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.bg-circle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, var(--primary-color) 0%, transparent 70%);
    opacity: 0.1;
    animation: float 20s infinite ease-in-out;
}

.circle-1 {
    width: 300px;
    height: 300px;
    top: -100px;
    left: -100px;
}

.circle-2 {
    width: 400px;
    height: 400px;
    bottom: -150px;
    right: -150px;
    animation-delay: -10s;
}

.circle-3 {
    width: 250px;
    height: 250px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -5s;
}

@keyframes float {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-30px) scale(1.1); }
}

.login-box {
    background: #FFFFFF;
    border-radius: var(--border-radius);
    padding: 3rem;
    width: 100%;
    max-width: 450px;
    border: 1px solid #DEE2E6;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    position: relative;
    z-index: 1;
    animation: fadeInUp 0.8s ease;
}

.login-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.login-header .logo-text-admin {
    font-size: 4rem;
    font-weight: 900;
    font-family: 'Noto Sans KR', sans-serif;
    text-align: center;
    margin: 0 auto 0.5rem;
    letter-spacing: 0.1em;
    background: linear-gradient(135deg, #4285F4 0%, #EA4335 25%, #FBBC05 50%, #34A853 75%, #4285F4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: adminLogoGlow 3s ease-in-out infinite;
}

@keyframes adminLogoGlow {
    0%, 100% {
        filter: brightness(1);
    }
    50% {
        filter: brightness(1.15);
    }
}

.login-header h1 {
    color: var(--text-white);
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.login-header h2 {
    color: var(--text-white);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.login-header p {
    color: var(--text-gray);
    font-size: 0.95rem;
}

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

.login-form .form-group label {
    color: var(--text-light);
    font-weight: 500;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.login-form .form-group input {
    background: var(--bg-darker);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.875rem 1rem;
    color: var(--text-white);
    font-family: var(--font-main);
    font-size: 1rem;
    width: 100%;
    transition: var(--transition);
}

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

.password-input {
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-gray);
    cursor: pointer;
    transition: var(--transition);
}

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

.remember-me label {
    flex-direction: row;
    cursor: pointer;
}

.remember-me input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    margin-right: 0.5rem;
}

.error-message {
    background: rgba(255, 50, 50, 0.1);
    border: 1px solid rgba(255, 50, 50, 0.3);
    border-radius: 8px;
    padding: 1rem;
    color: #ff3333;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.login-btn {
    background: var(--bg-blue-gradient);
    color: #212529;
    border: none;
    border-radius: 8px;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 0.5rem;
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px var(--shadow-blue-intense);
}

.login-footer {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.back-link {
    color: var(--text-gray);
    text-decoration: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.back-link:hover {
    color: var(--primary-color);
}

/* 관리자 대시보드 */
.admin-container {
    display: flex;
    min-height: 100vh;
    background: var(--bg-black);
}

/* 사이드바 */
.admin-sidebar {
    width: 260px;
    background: var(--bg-card);
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    position: fixed;
    height: 100vh;
    transition: var(--transition);
    z-index: 1000;
}

.sidebar-header {
    padding: 2rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
}

.sidebar-header:hover {
    background: rgba(102, 126, 234, 0.1);
    transform: translateX(5px);
}

.sidebar-header:hover i {
    transform: rotate(360deg);
}

.sidebar-header i {
    font-size: 1.8rem;
    color: var(--primary-color);
    transition: transform 0.6s ease;
}

.sidebar-header h2 {
    color: var(--text-white);
    font-size: 1.3rem;
    margin: 0;
    line-height: 1.2;
}

.sidebar-header-text {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.sidebar-subtitle {
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    margin: 0;
    text-transform: uppercase;
}

.sidebar-nav {
    flex: 1;
    padding: 1.5rem 0;
    overflow-y: auto;
}

.sidebar-nav .nav-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    color: var(--text-gray);
    text-decoration: none;
    transition: var(--transition);
    position: relative;
}

.sidebar-nav .nav-item:hover {
    background: var(--bg-darker);
    color: var(--text-white);
}

.sidebar-nav .nav-item.active {
    background: rgba(0, 102, 255, 0.1);
    color: var(--primary-color);
    border-left: 3px solid var(--primary-color);
}

.sidebar-nav .nav-item i {
    font-size: 1.2rem;
}

.sidebar-nav .nav-item .badge {
    margin-left: auto;
    background: #ff3333;
    color: #212529;
    padding: 0.25rem 0.6rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.sidebar-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.logout-btn {
    width: 100%;
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.875rem 1rem;
    color: var(--text-light);
    font-family: var(--font-main);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
}

.logout-btn:hover {
    background: rgba(255, 50, 50, 0.1);
    border-color: #ff3333;
    color: #ff3333;
}

/* 메인 콘텐츠 */
.admin-main {
    flex: 1;
    margin-left: 260px;
    display: flex;
    flex-direction: column;
}

.admin-header {
    background: var(--bg-card);
    border-bottom: 1px solid var(--border-color);
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-white);
    font-size: 1.5rem;
    cursor: pointer;
}

.admin-header h1 {
    color: var(--text-white);
    font-size: 1.8rem;
}

.admin-info {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--text-light);
    padding: 0.75rem 1.5rem;
    background: var(--bg-darker);
    border-radius: 8px;
}

.admin-info i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

/* 콘텐츠 섹션 */
.content-section {
    display: none;
    padding: 2rem;
    animation: fadeIn 0.5s ease;
}

.content-section.active {
    display: block;
}

/* 통계 카드 */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.stat-card {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    padding: 2rem;
    border: 1px solid var(--border-color);
    display: flex;
    gap: 1.5rem;
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--shadow-dark);
}

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

.stat-icon i {
    font-size: 1.8rem;
}

.stat-content h3 {
    color: var(--text-gray);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.stat-number {
    color: var(--text-white);
    font-size: 2rem;
    font-weight: 700;
}

/* 섹션 헤더 */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.section-header h2 {
    color: var(--text-white);
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.view-all {
    color: var(--primary-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.view-all:hover {
    gap: 0.8rem;
}

/* 문의 목록 */
.inquiries-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.inquiry-card {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    border: 1px solid var(--border-color);
    cursor: pointer;
    transition: var(--transition);
}

.inquiry-card:hover {
    border-color: var(--primary-color);
    transform: translateX(5px);
}

.inquiry-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    gap: 1rem;
}

.inquiry-card-title h4 {
    color: var(--text-white);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.inquiry-card-meta {
    display: flex;
    gap: 1.5rem;
    color: var(--text-gray);
    font-size: 0.85rem;
    flex-wrap: wrap;
}

.inquiry-card-badges {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

/* 제어 버튼 */
.section-controls {
    background: var(--bg-card);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.controls-left,
.controls-right {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-refresh,
.btn-search {
    background: var(--bg-darker);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-refresh:hover,
.btn-search:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.search-input {
    background: var(--bg-darker);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    color: var(--text-white);
    font-family: var(--font-main);
    min-width: 250px;
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* 설정 페이지 */
.settings-container {
    max-width: 800px;
}

.settings-container h2 {
    color: var(--text-white);
    font-size: 1.8rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.settings-card {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    padding: 2rem;
    border: 1px solid var(--border-color);
    margin-bottom: 2rem;
}

.settings-card h3 {
    color: var(--text-white);
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.settings-item {
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}

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

.settings-item label {
    color: var(--text-gray);
    font-size: 0.9rem;
    display: block;
    margin-bottom: 0.5rem;
}

.settings-item p {
    color: var(--text-white);
    font-size: 1.1rem;
}

.settings-card form .form-group {
    margin-bottom: 1.5rem;
}

.settings-card form .form-group label {
    color: var(--text-light);
    margin-bottom: 0.5rem;
    display: block;
}

.settings-card form .form-group input {
    width: 100%;
    background: var(--bg-darker);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.875rem 1rem;
    color: var(--text-white);
    font-family: var(--font-main);
}

.settings-card form .form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #212529;
    border: none;
    border-radius: 10px;
    padding: 0.9rem 1.8rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.5);
}

.btn-primary:active {
    transform: translateY(-1px);
}

.btn-secondary {
    background: transparent;
    color: var(--text-light);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

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

/* 모달 */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    max-width: 800px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    border: 1px solid var(--border-color);
    animation: slideUp 0.3s ease;
}

.modal-header {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    color: var(--text-white);
    font-size: 1.5rem;
}

.modal-close {
    background: none;
    border: none;
    color: var(--text-gray);
    font-size: 2rem;
    cursor: pointer;
    transition: var(--transition);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    color: var(--primary-color);
}

.modal-body {
    padding: 2rem;
}

.modal-footer {
    padding: 1.5rem 2rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
}

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

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

/* ==========================================
   로그인 메시지 스타일
   ========================================== */

.login-message {
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.95rem;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.login-message.error {
    background: rgba(255, 50, 50, 0.1);
    border: 1px solid rgba(255, 50, 50, 0.3);
    color: #ff3333;
}

.login-message.success {
    background: rgba(0, 200, 100, 0.1);
    border: 1px solid rgba(0, 200, 100, 0.3);
    color: #00C864;
}

.login-message i {
    font-size: 1.2rem;
}

/* ==========================================
   알림 스타일
   ========================================== */

.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1rem 1.5rem;
    box-shadow: 0 10px 30px var(--shadow-dark);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    min-width: 300px;
    z-index: 3000;
    opacity: 0;
    transform: translateX(400px);
    transition: all 0.3s ease;
}

.notification.show {
    opacity: 1;
    transform: translateX(0);
}

.notification.success {
    border-left: 4px solid #00C864;
}

.notification.success i {
    color: #00C864;
}

.notification.error {
    border-left: 4px solid #ff3333;
}

.notification.error i {
    color: #ff3333;
}

.notification.warning {
    border-left: 4px solid #FFA500;
}

.notification.warning i {
    color: #FFA500;
}

.notification.info {
    border-left: 4px solid var(--primary-color);
}

.notification.info i {
    color: var(--primary-color);
}

.notification i {
    font-size: 1.5rem;
}

.notification span {
    color: var(--text-white);
    font-size: 0.95rem;
}

/* ==========================================
   문의 상세 모달 추가 스타일
   ========================================== */

.inquiry-detail-admin {
    padding: 2rem;
}

.detail-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.status-actions {
    display: flex;
    gap: 0.8rem;
}

.btn-status {
    padding: 0.6rem 1.2rem;
    border-radius: var(--border-radius);
    border: none;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.btn-status i {
    font-size: 0.95rem;
}

.btn-complete {
    background: rgba(0, 200, 100, 0.2);
    color: #00C864;
    border: 1px solid rgba(0, 200, 100, 0.3);
}

.btn-complete:hover {
    background: rgba(0, 200, 100, 0.3);
}

.btn-pending {
    background: rgba(255, 165, 0, 0.2);
    color: #FFA500;
    border: 1px solid rgba(255, 165, 0, 0.3);
}

.btn-pending:hover {
    background: rgba(255, 165, 0, 0.3);
}

.detail-title {
    color: var(--text-white);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--bg-darker);
    border-radius: var(--border-radius);
    margin-bottom: 2rem;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-gray);
    font-size: 0.95rem;
}

.meta-item i {
    color: var(--primary-color);
}

.detail-content {
    margin-bottom: 2rem;
}

.detail-content h4 {
    color: var(--text-white);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.detail-content h4 i {
    color: var(--primary-color);
}

.content-box {
    background: var(--bg-darker);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    color: var(--text-light);
    line-height: 1.8;
    white-space: pre-wrap;
    word-wrap: break-word;
}

.detail-answer {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.detail-answer h4 {
    color: var(--text-white);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.detail-answer h4 i {
    color: var(--primary-color);
}

.answer-textarea {
    width: 100%;
    padding: 1rem;
    background: var(--bg-darker);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    color: var(--text-white);
    font-size: 0.95rem;
    font-family: 'Noto Sans KR', sans-serif;
    line-height: 1.6;
    resize: vertical;
    margin-bottom: 1rem;
}

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

.btn-save-answer {
    padding: 0.8rem 1.5rem;
    background: var(--primary-color);
    color: var(--text-white);
    border: none;
    border-radius: var(--border-radius);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.btn-save-answer:hover {
    background: #0052cc;
    transform: translateY(-2px);
}

.btn-save-answer i {
    font-size: 1rem;
}

/* ==========================================
   빈 상태 및 로딩 스타일
   ========================================== */

.empty-state {
    text-align: center;
    padding: 3rem 2rem;
    color: var(--text-gray);
}

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

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

.btn-reload {
    padding: 0.7rem 1.3rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    color: var(--text-white);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.btn-reload:hover {
    background: var(--bg-darker);
    border-color: var(--primary-color);
}

.loading {
    text-align: center;
    padding: 2rem;
    color: var(--text-gray);
    font-size: 1rem;
}

.loading i {
    margin-right: 0.5rem;
    color: var(--primary-color);
}

/* ==========================================
   사용자 프로필 스타일
   ========================================== */

.user-profile {
    padding: 2rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
    text-align: center;
}

.profile-avatar {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    background: rgba(0, 102, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-avatar i {
    font-size: 3rem;
    color: var(--primary-color);
}

.profile-info h3 {
    color: var(--text-white);
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
}

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

/* ==========================================
   데이터 테이블 스타일
   ========================================== */

.data-table-container {
    overflow-x: auto;
    background: var(--bg-card);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
}

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

.data-table thead {
    background: var(--bg-darker);
}

.data-table th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    color: var(--text-white);
    border-bottom: 1px solid var(--border-color);
    font-size: 0.9rem;
}

.data-table td {
    padding: 1rem;
    color: var(--text-light);
    border-bottom: 1px solid var(--border-color);
    font-size: 0.95rem;
}

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

.data-table tbody tr:hover {
    background: var(--bg-darker);
}

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

.btn-icon {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-gray);
    padding: 0.5rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.btn-icon:hover {
    background: var(--bg-darker);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* ==========================================
   대시보드 콘텐츠 레이아웃
   ========================================== */

.dashboard-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.dashboard-col {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    padding: 2rem;
}

.content-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.content-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-darker);
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.content-item:hover {
    transform: translateX(5px);
    border-left: 3px solid var(--primary-color);
}

.item-icon {
    width: 50px;
    height: 50px;
    background: rgba(0, 102, 255, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.item-icon i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.item-content {
    flex: 1;
}

.item-content h4 {
    color: var(--text-white);
    font-size: 1rem;
    margin-bottom: 0.3rem;
}

.item-content p {
    color: var(--text-gray);
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.item-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.85rem;
    color: var(--text-gray);
}

.item-meta span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

/* ==========================================
   설정 페이지 스타일
   ========================================== */

.settings-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.settings-card {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    padding: 2rem;
}

.settings-card h3 {
    color: var(--text-white);
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

.settings-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.profile-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.profile-details p {
    color: var(--text-light);
    font-size: 0.95rem;
    padding: 0.8rem;
    background: var(--bg-darker);
    border-radius: 8px;
}

.profile-details strong {
    color: var(--text-white);
    display: inline-block;
    min-width: 80px;
}

/* ==========================================
   로그인 페이지 추가 스타일
   ========================================== */

.login-footer {
    margin-top: 2rem;
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.login-footer p {
    margin: 0.5rem 0;
}

.login-footer a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.login-footer a:hover {
    color: #0052cc;
}

.admin-link {
    margin-top: 1rem;
}

.admin-link a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    background: rgba(0, 102, 255, 0.1);
    border: 1px solid rgba(0, 102, 255, 0.3);
    border-radius: 8px;
    font-weight: 500;
}

.admin-link a:hover {
    background: rgba(0, 102, 255, 0.2);
}

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

/* ==========================================
   크리에이터 관리 스타일
   ========================================== */

/* ==========================================
   크리에이터 관리 - 실용적 디자인
   ========================================== */

/* ==========================================
   크리에이터 관리 - 개선된 디자인
   ========================================== */

/* 헤더 */
.creator-header-enhanced {
    background: #FFFFFF;
    border: 2px solid rgba(0, 102, 255, 0.15);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.header-top {
    margin-bottom: 2rem;
}

.header-title-section {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.title-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #0066FF 0%, #00A8FF 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #212529;
    box-shadow: 0 6px 20px rgba(0, 102, 255, 0.4);
}

.title-text h2 {
    color: #212529;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.title-text p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
}

.header-stats-enhanced {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.stat-card-enhanced {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.2rem;
    transition: all 0.2s ease;
}

.stat-card-enhanced:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.stat-card-enhanced.blue {
    border-left: 4px solid #0066FF;
}

.stat-card-enhanced.purple {
    border-left: 4px solid #9333EA;
}

.stat-card-enhanced.green {
    border-left: 4px solid #10B981;
}

.stat-icon-enhanced {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.stat-card-enhanced.blue .stat-icon-enhanced {
    background: rgba(0, 102, 255, 0.2);
    color: #0066FF;
}

.stat-card-enhanced.purple .stat-icon-enhanced {
    background: rgba(147, 51, 234, 0.2);
    color: #9333EA;
}

.stat-card-enhanced.green .stat-icon-enhanced {
    background: rgba(16, 185, 129, 0.2);
    color: #10B981;
}

.stat-content-enhanced {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.stat-number-enhanced {
    font-size: 2rem;
    font-weight: 700;
    color: #212529;
    line-height: 1;
}

.stat-label-enhanced {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* 탭 */
.creator-tabs-enhanced {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    background: var(--bg-card);
    padding: 0.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.tab-btn-enhanced {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    background: transparent;
    border: none;
    border-radius: 8px;
    padding: 1rem 2rem;
    color: var(--text-gray);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.tab-btn-enhanced:hover {
    background: rgba(0, 102, 255, 0.1);
    color: var(--text-white);
}

.tab-btn-enhanced.active {
    background: linear-gradient(135deg, #0066FF 0%, #00A8FF 100%);
    color: #212529;
    box-shadow: 0 4px 12px rgba(0, 102, 255, 0.4);
}

.tab-icon-enhanced {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.tab-btn-enhanced.active .tab-icon-enhanced {
    background: rgba(255, 255, 255, 0.2);
}

/* 탭 컨텐츠 */
.tab-content-enhanced {
    display: none;
}

.tab-content-enhanced.active {
    display: block;
}

/* 컨트롤 바 */
.controls-bar-enhanced {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 1.2rem 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
}

.controls-left-enhanced {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.filter-group label {
    color: var(--text-gray);
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-group label i {
    color: var(--primary-color);
}

.select-enhanced {
    background: var(--bg-darker);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.7rem 1rem;
    color: var(--text-white);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    min-width: 200px;
    transition: all 0.2s ease;
}

.select-enhanced:hover {
    border-color: var(--primary-color);
}

.select-enhanced:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.1);
}

.btn-enhanced {
    padding: 0.7rem 1.5rem;
    border-radius: 8px;
    border: none;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    transition: all 0.2s ease;
}

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

.btn-enhanced.primary {
    background: linear-gradient(135deg, #0066FF 0%, #00A8FF 100%);
    color: #212529;
    box-shadow: 0 4px 12px rgba(0, 102, 255, 0.3);
}

.btn-enhanced.primary:hover {
    box-shadow: 0 6px 16px rgba(0, 102, 255, 0.5);
    transform: translateY(-1px);
}

.btn-enhanced.icon-btn {
    width: 42px;
    height: 42px;
    padding: 0;
    justify-content: center;
    background: var(--bg-darker);
    border: 1px solid var(--border-color);
    color: var(--text-light);
}

.btn-enhanced.icon-btn:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #212529;
}

/* 테이블 컨테이너 */
.table-container-enhanced {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* 기존 복잡한 스타일 제거용 주석 */
.header-bg-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(0, 102, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(0, 168, 255, 0.15) 0%, transparent 50%);
    animation: gradientShift 10s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% {
        opacity: 0.6;
    }
    50% {
        opacity: 1;
    }
}

.header-content-wrapper {
    position: relative;
    z-index: 1;
    padding: 3rem;
}

.header-main {
    display: flex;
    align-items: center;
    gap: 3rem;
    margin-bottom: 2.5rem;
}

.header-icon-section {
    flex-shrink: 0;
}

.icon-container {
    position: relative;
    width: 120px;
    height: 120px;
}

.icon-circle {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0066FF 0%, #00A8FF 100%);
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    box-shadow: 
        0 20px 50px rgba(0, 102, 255, 0.4),
        inset 0 -2px 10px rgba(0, 0, 0, 0.2),
        inset 0 2px 10px rgba(255, 255, 255, 0.2);
    animation: iconFloat 3s ease-in-out infinite;
}

@keyframes iconFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-10px) rotate(5deg);
    }
}

.icon-circle i {
    font-size: 4rem;
    color: #212529;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.icon-ripple {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border: 3px solid rgba(0, 102, 255, 0.5);
    border-radius: 30px;
    animation: ripple 2s ease-out infinite;
}

@keyframes ripple {
    0% {
        width: 100%;
        height: 100%;
        opacity: 1;
    }
    100% {
        width: 150%;
        height: 150%;
        opacity: 0;
    }
}

.header-text-section {
    flex: 1;
}

.header-label {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(0, 102, 255, 0.15);
    border: 1px solid rgba(0, 102, 255, 0.3);
    padding: 0.5rem 1.2rem;
    border-radius: 25px;
    margin-bottom: 1.2rem;
    backdrop-filter: blur(10px);
}

.header-label i {
    color: #00A8FF;
    font-size: 0.9rem;
}

.header-label span {
    color: #00A8FF;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.header-title {
    font-size: 3rem;
    font-weight: 900;
    color: #212529;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #ffffff 0%, #a8d5ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 5px 20px rgba(0, 102, 255, 0.3);
    letter-spacing: -1px;
}

.header-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    line-height: 1.6;
}

.header-description i {
    color: #00A8FF;
    font-size: 1.2rem;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.7;
    }
}

.header-stats-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.stat-card-new {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 102, 255, 0.2);
    border-radius: 20px;
    padding: 1.8rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
}

.stat-card-new::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #0066FF, #00A8FF);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat-card-new:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(0, 102, 255, 0.5);
    box-shadow: 0 15px 40px rgba(0, 102, 255, 0.3);
}

.stat-card-new:hover::before {
    opacity: 1;
}

.stat-icon-new {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #0066FF 0%, #00A8FF 100%);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(0, 102, 255, 0.4);
    position: relative;
}

.stat-icon-new.music {
    background: linear-gradient(135deg, #FF6B6B 0%, #FF8E53 100%);
    box-shadow: 0 8px 20px rgba(255, 107, 107, 0.4);
}

.stat-icon-new.invoice {
    background: linear-gradient(135deg, #4ECDC4 0%, #44A08D 100%);
    box-shadow: 0 8px 20px rgba(78, 205, 196, 0.4);
}

.stat-icon-new i {
    font-size: 1.8rem;
    color: #212529;
}

.stat-info {
    flex: 1;
}

.stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0.5rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-value {
    font-size: 2.2rem;
    font-weight: 900;
    color: #212529;
    line-height: 1;
}

.stat-trend {
    font-size: 1.5rem;
    color: rgba(0, 168, 255, 0.6);
}

/* 탭 네비게이션 - 새 디자인 */
.creator-tabs-wrapper {
    margin-bottom: 2.5rem;
}

.tabs-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    background: var(--bg-card);
    padding: 0.8rem;
    border-radius: 20px;
    border: 1px solid var(--border-color);
}

.creator-tab {
    background: transparent;
    border: 2px solid transparent;
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.creator-tab::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.1) 0%, rgba(0, 168, 255, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.creator-tab:hover::before {
    opacity: 1;
}

.creator-tab:hover {
    transform: translateY(-3px);
    border-color: rgba(0, 102, 255, 0.3);
}

.creator-tab.active {
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.15) 0%, rgba(0, 168, 255, 0.15) 100%);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 102, 255, 0.3);
}

.creator-tab.active::before {
    opacity: 1;
}

.tab-icon {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, #0066FF 0%, #00A8FF 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(0, 102, 255, 0.3);
    position: relative;
    z-index: 1;
}

.tab-icon i {
    font-size: 1.6rem;
    color: #212529;
}

.tab-content-text {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    position: relative;
    z-index: 1;
}

.tab-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-white);
}

.tab-subtitle {
    font-size: 0.85rem;
    color: var(--text-gray);
}

/* 패널 컨트롤 */
.panel-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--bg-card);
    border-radius: 16px;
    border: 1px solid var(--border-color);
}

.controls-group {
    display: flex;
    gap: 1rem;
}

.modern-select {
    background: var(--bg-darker);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 0.8rem 1.2rem;
    color: var(--text-white);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 200px;
}

.modern-select:hover {
    border-color: var(--primary-color);
    background: rgba(0, 102, 255, 0.05);
}

.modern-select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.1);
}

.modern-btn {
    padding: 0.8rem 1.5rem;
    border-radius: 12px;
    border: none;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.modern-btn.refresh {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid var(--border-color);
    color: var(--text-light);
}

.modern-btn.refresh:hover {
    background: rgba(0, 102, 255, 0.1);
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: rotate(180deg);
}

.modern-btn.primary {
    background: linear-gradient(135deg, #0066FF 0%, #00A8FF 100%);
    color: #212529;
    box-shadow: 0 6px 20px rgba(0, 102, 255, 0.3);
}

.modern-btn.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 102, 255, 0.4);
}

/* 반응형 */
@media (max-width: 1024px) {
    .header-stats-enhanced {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }

    .stat-card-enhanced {
        padding: 1.2rem;
    }
}

@media (max-width: 768px) {
    .creator-header-enhanced {
        padding: 1.5rem;
    }

    .header-title-section {
        gap: 1rem;
    }

    .title-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .title-text h2 {
        font-size: 1.5rem;
    }

    .title-text p {
        font-size: 0.9rem;
    }

    .header-stats-enhanced {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .creator-tabs-enhanced {
        flex-direction: column;
        gap: 0.5rem;
    }

    .controls-bar-enhanced {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }

    .controls-left-enhanced {
        flex-direction: column;
        width: 100%;
    }

    .filter-group {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }

    .select-enhanced {
        width: 100%;
    }

    .btn-enhanced {
        width: 100%;
        justify-content: center;
    }
}

.header-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(255,255,255,.03) 10px, rgba(255,255,255,.03) 20px),
        repeating-linear-gradient(-45deg, transparent, transparent 10px, rgba(255,255,255,.03) 10px, rgba(255,255,255,.03) 20px);
    opacity: 0.3;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

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

.header-content {
    display: flex;
    align-items: center;
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.header-icon {
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: #212529;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.4);
    animation: float 3s ease-in-out infinite;
    backdrop-filter: blur(15px);
    border: 3px solid rgba(255, 255, 255, 0.4);
    position: relative;
}

.icon-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 28px;
    background: radial-gradient(circle, rgba(255,255,255,0.4) 0%, transparent 70%);
    animation: pulse-glow 2s ease-in-out infinite;
}

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

@keyframes pulse-glow {
    0%, 100% {
        opacity: 0.5;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.1);
    }
}

.header-text {
    position: relative;
}

.header-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 215, 0, 0.2);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    margin-bottom: 0.8rem;
    border: 1px solid rgba(255, 215, 0, 0.4);
    backdrop-filter: blur(10px);
}

.header-badge i {
    color: #ffd700;
    font-size: 0.9rem;
    animation: sparkle 2s ease-in-out infinite;
}

.header-badge span {
    color: #212529;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@keyframes sparkle {
    0%, 100% {
        transform: rotate(0deg) scale(1);
        opacity: 1;
    }
    50% {
        transform: rotate(180deg) scale(1.2);
        opacity: 0.8;
    }
}

.header-text h2 {
    color: #212529;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.8rem;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.5px;
}

.header-text p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.1rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    line-height: 1.6;
}

.header-text p i {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
}

.creators-stats {
    display: flex;
    gap: 1.2rem;
    position: relative;
    z-index: 1;
}

.stat-mini {
    background: rgba(255, 255, 255, 0.2);
    padding: 1.5rem;
    border-radius: 20px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
    backdrop-filter: blur(15px);
    border: 2px solid rgba(255, 255, 255, 0.35);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    min-width: 130px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    position: relative;
    overflow: hidden;
}

.stat-mini::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.stat-mini:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    background: rgba(255, 255, 255, 0.28);
    border-color: rgba(255, 255, 255, 0.5);
}

.stat-icon-wrapper {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1;
}

.stat-icon-wrapper i {
    font-size: 1.5rem;
    color: #212529;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.15);
    }
}

.stat-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    z-index: 1;
}

.stat-content span {
    font-size: 2rem;
    font-weight: 900;
    color: #212529;
    line-height: 1;
    text-shadow: 0 3px 15px rgba(0, 0, 0, 0.3);
    margin-bottom: 0.3rem;
}

.stat-content small {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* 탭 버튼 */
.creators-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    background: var(--bg-card);
    padding: 0.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.tab-btn {
    padding: 1rem 2rem;
    background: transparent;
    border: none;
    border-radius: 8px;
    color: var(--text-gray);
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.tab-btn::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.tab-btn:hover {
    color: var(--primary-color);
    background: rgba(102, 126, 234, 0.1);
}

.tab-btn:hover::before {
    width: 80%;
}

.tab-btn.active {
    color: #212529;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.tab-btn.active::before {
    display: none;
}

.tab-btn i {
    font-size: 1.1rem;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* 데이터 테이블 */
.data-table-container {
    overflow-x: auto;
    background: var(--bg-card);
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

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

.data-table thead {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
}

.data-table th {
    padding: 1.2rem 1rem;
    text-align: left;
    color: var(--text-light);
    font-weight: 700;
    font-size: 0.9rem;
    border-bottom: 2px solid rgba(102, 126, 234, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.data-table td {
    padding: 1.2rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-white);
}

.data-table tbody tr {
    transition: all 0.3s ease;
    position: relative;
}

.data-table tbody tr::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.data-table tbody tr:hover {
    background: rgba(102, 126, 234, 0.08);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.data-table tbody tr:hover::before {
    opacity: 1;
}

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

/* 배지 스타일 */
.badge {
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-block;
}

.badge.status-active {
    background: rgba(0, 200, 100, 0.2);
    color: #00C864;
}

.badge.status-pending {
    background: rgba(255, 165, 0, 0.2);
    color: #FFA500;
}

.badge.status-inactive {
    background: rgba(150, 150, 150, 0.2);
    color: #999;
}

.badge.status-paid {
    background: rgba(0, 200, 100, 0.2);
    color: #00C864;
}

.badge.status-processing {
    background: rgba(0, 102, 255, 0.2);
    color: #0066FF;
}

/* 아이콘 버튼 */
.btn-icon {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.6rem 0.8rem;
    border-radius: 8px;
    cursor: pointer;
    color: var(--text-light);
    transition: all 0.3s ease;
    margin-right: 0.5rem;
    position: relative;
    overflow: hidden;
}

.btn-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(102, 126, 234, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
}

.btn-icon:hover::before {
    width: 100px;
    height: 100px;
}

.btn-icon:hover {
    background: rgba(102, 126, 234, 0.15);
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.btn-icon.btn-danger:hover {
    background: rgba(255, 69, 69, 0.15);
    border-color: #ff4545;
    color: #ff4545;
    box-shadow: 0 4px 12px rgba(255, 69, 69, 0.3);
}

.btn-icon.btn-danger:hover::before {
    background: rgba(255, 69, 69, 0.3);
}

.btn-icon i {
    position: relative;
    z-index: 1;
}

/* 관리자 폼 스타일 */
.admin-form {
    padding: 1rem 0;
}

.admin-form .form-group {
    margin-bottom: 1.5rem;
}

.admin-form .form-group label {
    display: block;
    color: var(--text-light);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.admin-form .form-group input,
.admin-form .form-group select,
.admin-form .form-group textarea {
    width: 100%;
    background: #1a1a1a;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.875rem 1rem;
    color: var(--text-white);
    font-size: 1rem;
    transition: all 0.2s ease;
}

.admin-form .form-group select {
    background: #1a1a1a;
    cursor: pointer;
}

.admin-form .form-group select option {
    background: #1a1a1a;
    color: var(--text-white);
    padding: 0.5rem;
}

.admin-form .form-group input:focus,
.admin-form .form-group select:focus,
.admin-form .form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(0, 102, 255, 0.05);
}

/* 파일 입력 스타일 */
.file-input {
    padding: 0.75rem !important;
    cursor: pointer;
}

.file-input::-webkit-file-upload-button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #212529;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    margin-right: 1rem;
}

.file-input::-webkit-file-upload-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.admin-form .form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.admin-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.admin-form .required {
    color: #ff4545;
}

/* 모달 푸터 버튼 */
.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

/* 반응형 */
@media (max-width: 768px) {
    .admin-sidebar {
        transform: translateX(-100%);
    }

    .admin-sidebar.active {
        transform: translateX(0);
    }

    .admin-main {
        margin-left: 0;
    }

    .menu-toggle {
        display: block;
    }

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

    .section-controls {
        flex-direction: column;
    }

    .controls-left,
    .controls-right {
        width: 100%;
        flex-direction: column;
    }

    .search-input {
        min-width: 100%;
    }

    .modal-content {
        width: 95%;
        max-height: 95vh;
    }

    .admin-info span {
        display: none;
    }
    
    .creators-tabs {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .tab-btn {
        width: 100%;
        justify-content: center;
    }
    
    .admin-form .form-row {
        grid-template-columns: 1fr;
    }
    
    .data-table-container {
        overflow-x: scroll;
    }
    
    .data-table {
        min-width: 600px;
    }
    
    .creators-header {
        flex-direction: column;
        gap: 2rem;
        padding: 2rem;
    }
    
    .header-content {
        flex-direction: column;
        text-align: center;
        width: 100%;
    }
    
    .header-icon {
        width: 80px;
        height: 80px;
        font-size: 2.5rem;
    }
    
    .header-text h2 {
        font-size: 2rem;
    }
    
    .header-text p {
        font-size: 1rem;
        justify-content: center;
    }
    
    .creators-stats {
        width: 100%;
        flex-direction: column;
        gap: 1rem;
    }
    
    .stat-mini {
        width: 100%;
        justify-content: center;
        padding: 1.2rem;
    }
    
    .stat-content {
        align-items: center;
    }
    
    .stat-content span {
        font-size: 1.8rem;
    }
}
