/* ============================================
   ADMIN DASHBOARD STYLES
   ============================================ */

:root {
    --admin-primary: #4f46e5;
    --admin-primary-dark: #4338ca;
    --admin-primary-light: #818cf8;
    --admin-danger: #ef4444;
    --admin-success: #10b981;
    --admin-warning: #f59e0b;
    --admin-light-bg: #f8fafc;
    --admin-gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --admin-gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --admin-gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --admin-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --admin-shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --admin-shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
}

/* Global Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Apply animations to elements */
.event-card,
.registration-card,
.admin-card {
    animation: fadeInUp 0.5s ease-out backwards;
}

.event-card:nth-child(1) { animation-delay: 0.1s; }
.event-card:nth-child(2) { animation-delay: 0.2s; }
.event-card:nth-child(3) { animation-delay: 0.3s; }

.admin-card:nth-child(1) { animation-delay: 0.1s; }
.admin-card:nth-child(2) { animation-delay: 0.2s; }
.admin-card:nth-child(3) { animation-delay: 0.3s; }

.stat-card {
    animation: fadeInUp 0.6s ease-out backwards;
}

.stat-card:nth-child(1) { animation-delay: 0.1s; }
.stat-card:nth-child(2) { animation-delay: 0.2s; }
.stat-card:nth-child(3) { animation-delay: 0.3s; }

.nav-item {
    animation: slideInRight 0.5s ease-out backwards;
}

.nav-item:nth-child(1) { animation-delay: 0.1s; }
.nav-item:nth-child(2) { animation-delay: 0.2s; }
.nav-item:nth-child(3) { animation-delay: 0.3s; }

/* Admin Header */
.admin-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1.2rem 0;
    box-shadow: 0 4px 24px rgba(102, 126, 234, 0.4);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.admin-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: headerPulse 15s ease-in-out infinite;
}

@keyframes headerPulse {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-10%, -10%) scale(1.1); }
}

.admin-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

.admin-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    position: relative;
    z-index: 1;
}

.admin-logo i {
    font-size: 1.8rem;
    animation: rotateSlow 20s linear infinite;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

@keyframes rotateSlow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.admin-user-info {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-left: auto;
    position: relative;
    z-index: 1;
}

.admin-user-info span {
    font-weight: 600;
    font-size: 1rem;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.logout-btn {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 10px 20px;
    border-radius: 12px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 1;
}

.logout-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Login Section */
.login-section {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background: linear-gradient(-45deg, #667eea, #764ba2, #f093fb, #4facfe);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    padding: 20px;
    position: relative;
    overflow: hidden;
}

.login-section::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: backgroundMove 20s linear infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes backgroundMove {
    from { transform: translate(0, 0); }
    to { transform: translate(50px, 50px); }
}

.login-container {
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-box {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(255, 255, 255, 0.5);
    padding: 48px;
    position: relative;
    z-index: 1;
    animation: floatIn 0.6s ease-out;
}

@keyframes floatIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.login-header {
    text-align: center;
    margin-bottom: 30px;
}

.login-header i {
    font-size: 3.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
    display: inline-block;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.login-header h2 {
    margin: 10px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -1px;
}

.login-header p {
    color: #666;
    font-size: 0.9rem;
}

.login-form {
    margin-bottom: 20px;
}

.login-form .form-group {
    margin-bottom: 20px;
}

.login-form .form-group label {
    display: block;
    margin-bottom: 8px;
    color: #1e40af;
    font-weight: 600;
}

.login-form .form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.login-form .form-group input:focus {
    outline: none;
    border-color: #1e40af;
    box-shadow: 0 0 8px rgba(30, 64, 175, 0.2);
}

.btn-block {
    width: 100%;
    margin-top: 10px;
}

.error-message {
    color: #dc2626;
    font-size: 0.85rem;
    margin-top: 5px;
    display: none;
}

.error-message.show {
    display: block;
}

.login-info {
    background: #f0f4f8;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 20px;
    border-left: 4px solid #1e40af;
}

.login-info p {
    margin: 0 0 10px 0;
    color: #1e40af;
    font-weight: 600;
    font-size: 0.9rem;
}

.login-info ul {
    list-style: none;
    padding: 0;
}

.login-info li {
    color: #666;
    padding: 4px 0;
    font-size: 0.85rem;
}

.login-footer {
    text-align: center;
}

.login-footer a {
    color: #1e40af;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.login-footer a:hover {
    color: #3b82f6;
}

/* Admin Dashboard */
.admin-dashboard {
    display: flex;
    min-height: calc(100vh - 60px);
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    position: relative;
}

.admin-dashboard::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(102, 126, 234, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(118, 75, 162, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.container {
    display: flex;
    gap: 0;
    width: 100%;
    max-width: 100%;
    padding: 0;
}

/* Sidebar */
.admin-sidebar {
    width: 250px;
    background: white;
    border-right: 2px solid #e5e7eb;
    padding: 30px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 60px;
    height: calc(100vh - 60px);
}

.admin-nav {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    color: #64748b;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-left: 4px solid transparent;
    text-align: left;
    position: relative;
    overflow: hidden;
}

.nav-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, rgba(102, 126, 234, 0.1) 0%, transparent 100%);
    transition: width 0.3s ease;
}

.nav-item:hover::before {
    width: 100%;
}

.nav-item:hover {
    color: #667eea;
    padding-left: 28px;
}

.nav-item.active {
    background: linear-gradient(90deg, rgba(102, 126, 234, 0.15) 0%, rgba(102, 126, 234, 0.05) 100%);
    color: #667eea;
    border-left-color: #667eea;
    font-weight: 600;
    box-shadow: inset 0 0 20px rgba(102, 126, 234, 0.1);
}

/* Main Content */
.admin-main {
    flex: 1;
    padding: 36px;
    overflow-y: auto;
    min-height: 500px;
    position: relative;
}

/* Modern Scrollbar */
.admin-main::-webkit-scrollbar {
    width: 8px;
}

.admin-main::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 10px;
}

.admin-main::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
}

.admin-main::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

.admin-tab {
    display: none !important;
    min-height: 400px;
    width: 100%;
}

.admin-tab.active {
    display: block !important;
}

.tab-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

.tab-header h2 {
    font-size: 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0 0 8px 0;
    font-weight: 800;
    letter-spacing: -1px;
}

.tab-subtitle {
    font-size: 0.95rem;
    color: #666;
    margin: 0;
    font-weight: 400;
}

.tab-header .btn {
    white-space: nowrap;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-add-admin {
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.2);
    animation: pulse-btn 2s ease-in-out infinite;
}

@keyframes pulse-btn {
    0%, 100% {
        box-shadow: 0 4px 12px rgba(30, 64, 175, 0.2);
    }
    50% {
        box-shadow: 0 4px 20px rgba(30, 64, 175, 0.4);
    }
}

.tab-header .btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.4);
}

.tab-header .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.5);
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

/* Admin Stats */
.admin-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 24px;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    gap: 16px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent 0%, rgba(102, 126, 234, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.stat-card:hover::before {
    opacity: 1;
}

.stat-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.stat-info {
    flex: 1;
}

.stat-value {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.stat-label {
    font-size: 0.85rem;
    color: #666;
    margin-top: 5px;
}

/* Event Form */
.event-form-container,
.admin-form-container {
    background: rgba(255, 255, 255, 0.98);
    padding: 32px;
    border-radius: 20px;
    margin-bottom: 32px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.event-form-container::before,
.admin-form-container::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.05) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.form-header {
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e5e7eb;
}

.form-header h3 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.5rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
}

.form-header i {
    font-size: 1.2rem;
}

.form-subtitle {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.5;
}

.event-form,
.admin-form {
    width: 100%;
    position: relative;
    z-index: 1;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 8px;
    color: #1e40af;
    font-weight: 600;
    font-size: 0.95rem;
}

.form-hint {
    font-size: 0.8rem;
    color: #666;
    margin-top: 5px;
    display: block;
}

.form-group input,
.form-group textarea {
    padding: 14px 18px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background: white;
    line-height: 1.5;
    box-sizing: border-box;
    width: 100%;
    position: relative;
    z-index: 2;
    will-change: auto;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1), 0 4px 16px rgba(102, 126, 234, 0.15);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-actions {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.form-actions .btn {
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
    background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%);
    color: white;
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #4b5563 0%, #374151 100%);
    transform: translateY(-2px);
}

.btn-secondary:disabled {
    cursor: not-allowed;
    opacity: 0.5;
    transform: none;
}

.btn-warning {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
}

.btn-warning:hover {
    background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
    transform: translateY(-2px);
}

.btn-danger {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
}

.btn-danger:hover {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    transform: translateY(-2px);
}

.btn-success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
}

.btn-success:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    transform: translateY(-2px);
}

.btn-small {
    padding: 8px 16px;
    font-size: 0.9rem;
}

.required {
    color: #dc2626;
}

/* Events List */
.events-list,
.registrations-list,
.admins-list {
    display: grid;
    gap: 20px;
}

.event-card,
.registration-card,
.admin-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 24px;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    border-left: 4px solid #667eea;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.event-card::before,
.registration-card::before,
.admin-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(50%, -50%);
}

.event-card:hover,
.registration-card:hover,
.admin-card:hover {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
    transform: translateY(-4px);
}

.event-card-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 12px;
}

.event-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1e40af;
}

.event-date {
    display: inline-block;
    background: #e0e7ff;
    color: #1e40af;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.event-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin: 15px 0;
    padding: 15px 0;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.detail-item i {
    color: #1e40af;
    font-size: 0.9rem;
    min-width: 15px;
}

.detail-item span {
    color: #666;
    font-size: 0.9rem;
}

.event-description {
    color: #666;
    line-height: 1.6;
    margin: 12px 0;
}

.event-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.btn-small {
    padding: 6px 12px;
    font-size: 0.85rem;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-danger {
    background: #fecaca;
    color: #dc2626;
}

.btn-danger:hover {
    background: #fca5a5;
}

.btn-warning {
    background: #fed7aa;
    color: #ea580c;
}

.btn-warning:hover {
    background: #fdba74;
}

.no-data {
    text-align: center;
    padding: 40px 20px;
    color: #999;
    font-size: 1rem;
}

.empty-state {
    text-align: center;
    padding: 80px 40px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 2px dashed #d1d5db;
    transition: all 0.3s ease;
}

.empty-state:hover {
    border-color: #667eea;
    background: rgba(255, 255, 255, 0.95);
    transform: scale(1.02);
}

.empty-state h3 {
    font-size: 1.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.empty-state p {
    font-size: 1rem;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

/* Registration Card */
.registration-card {
    border-left-color: #16a34a;
}

.registration-name {
    font-weight: 600;
    color: #1e40af;
    margin-bottom: 8px;
}

.registration-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    font-size: 0.9rem;
    color: #666;
}

.info-label {
    font-weight: 600;
    color: #1e40af;
}

/* Admin Card */
.admin-card {
    border-left-color: #ea580c;
}

.admin-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 10px;
}

.admin-title {
    font-size: 1.15rem;
    font-weight: 600;
    color: #1e40af;
    display: flex;
    align-items: center;
    gap: 10px;
}

.admin-title i {
    font-size: 1.2rem;
    color: #ea580c;
}

.admin-badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.admin-badge {
    padding: 6px 14px;
    border-radius: 24px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.admin-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.admin-badge i {
    font-size: 0.75rem;
}

.admin-badge-primary {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    color: #1e40af;
    border: 1px solid #93c5fd;
}

.admin-badge-success {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    color: #065f46;
    border: 1px solid #6ee7b7;
}

.admin-badge-secondary {
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
    color: #374151;
    border: 1px solid #d1d5db;
}

.admin-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 12px;
    margin-bottom: 15px;
}

.admin-info {
    flex: 1;
    min-width: 250px;
}

.admin-email {
    font-weight: 600;
    color: #1e40af;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
}

.admin-email i {
    font-size: 1.1rem;
}

.admin-details {
    font-size: 0.9rem;
    color: #666;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid #e5e7eb;
}

.admin-details div {
    margin-bottom: 4px;
}

.admin-details strong {
    color: #1e40af;
}

.admin-date {
    font-size: 0.9rem;
    color: #666;
}

.admin-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.admin-actions .btn-small {
    flex: 1;
    min-width: 120px;
}

.btn-success {
    background: #16a34a;
    color: white;
}

.btn-success:hover {
    background: #15803d;
}

.btn-secondary {
    background: #6b7280;
    color: white;
    cursor: not-allowed;
    opacity: 0.6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .admin-dashboard {
        flex-direction: column;
    }

    .admin-sidebar {
        width: 100%;
        height: auto;
        position: static;
        border-right: none;
        border-bottom: 2px solid #e5e7eb;
        padding: 15px 0;
    }

    .admin-nav {
        flex-direction: row;
        overflow-x: auto;
    }

    .nav-item {
        white-space: nowrap;
        flex: 1;
    }

    .admin-main {
        padding: 20px;
    }

    .login-box {
        padding: 30px 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .tab-header {
        flex-direction: column;
        align-items: stretch;
    }

    .tab-header .btn {
        width: 100%;
    }

    .event-details {
        grid-template-columns: 1fr;
    }

    .event-actions {
        flex-direction: column;
    }

    .admin-card {
        flex-direction: column;
        align-items: stretch;
    }

    .admin-card-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .admin-badges {
        width: 100%;
    }

    .admin-details-grid {
        grid-template-columns: 1fr;
    }

    .admin-actions {
        width: 100%;
        margin-top: 10px;
    }

    .admin-actions .btn-small {
        flex: 1;
        min-width: auto;
    }
}

@media (max-width: 480px) {
    .login-box {
        padding: 20px;
    }

    .tab-header h2 {
        font-size: 1.4rem;
    }

    .nav-item {
        flex-direction: column;
        font-size: 0.8rem;
        padding: 12px 10px;
    }

    .nav-item i {
        font-size: 1rem;
    }

    .nav-item span {
        display: none;
    }

    .admin-user-info {
        flex-direction: column;
        gap: 10px;
    }
}
