/* GNSS Rent Admin Panel Styles - Premium Edition */

/* Premium Admin Login Page Styles */
.admin-login {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 25%, #334155 50%, #475569 75%, #64748b 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
    overflow: hidden;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Premium Animated Background */
.premium-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.6;
    animation: orbFloat 20s ease-in-out infinite;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #3b82f6, #1d4ed8, #1e40af);
    top: -100px;
    left: -100px;
    animation-delay: 0s;
}

.orb-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, #8b5cf6, #7c3aed, #6d28d9);
    top: 50%;
    right: -50px;
    animation-delay: 5s;
}

.orb-3 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, #06b6d4, #0891b2, #0e7490);
    bottom: -50px;
    left: 20%;
    animation-delay: 10s;
}

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
}

.floating-particles {
    position: absolute;
    width: 100%;
    height: 100%;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    animation: particleFloat 15s linear infinite;
}

.p1 { top: 20%; left: 10%; animation-delay: 0s; }
.p2 { top: 60%; right: 15%; animation-delay: 2s; }
.p3 { bottom: 30%; left: 20%; animation-delay: 4s; }
.p4 { top: 40%; right: 30%; animation-delay: 6s; }
.p5 { bottom: 60%; right: 10%; animation-delay: 8s; }
.p6 { top: 80%; left: 40%; animation-delay: 10s; }

@keyframes particleFloat {
    0% { transform: translateY(0) rotate(0deg); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-100vh) rotate(360deg); opacity: 0; }
}

.geometric-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
}

.geometric-shapes .shape {
    position: absolute;
    opacity: 0.1;
    animation: shapeRotate 30s linear infinite;
}

.hexagon {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #3b82f6, #8b5cf6);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    top: 15%;
    right: 20%;
}

.triangle {
    width: 0;
    height: 0;
    border-left: 30px solid transparent;
    border-right: 30px solid transparent;
    border-bottom: 52px solid #06b6d4;
    top: 70%;
    left: 10%;
}

.circle {
    width: 50px;
    height: 50px;
    background: radial-gradient(circle, #8b5cf6, #6d28d9);
    border-radius: 50%;
    top: 25%;
    left: 70%;
}

.square {
    width: 40px;
    height: 40px;
    background: linear-gradient(45deg, #3b82f6, #1d4ed8);
    transform: rotate(45deg);
    top: 60%;
    right: 10%;
}

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

.premium-login-container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 1200px;
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    min-height: 600px;
}

.premium-login-section {
    padding: 40px 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(10px);
}

.login-content-wrapper {
    width: 100%;
    max-width: 400px;
}

.premium-brand-header {
    text-align: center;
    margin-bottom: 30px;
}

.premium-logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.premium-logo-orb {
    position: relative;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.2), rgba(139, 92, 246, 0.2));
    border-radius: 50%;
    animation: logoGlow 3s ease-in-out infinite alternate;
}

.logo-inner-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.4), transparent);
    border-radius: 50%;
    animation: logoGlow 2s ease-in-out infinite alternate;
}

.logo-outer-ring {
    position: absolute;
    width: 120%;
    height: 120%;
    border: 2px solid rgba(59, 130, 246, 0.3);
    border-radius: 50%;
    animation: logoRing 4s linear infinite;
}

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

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

.premium-logo-img {
    width: 50px;
    height: 50px;
    z-index: 2;
    filter: drop-shadow(0 0 10px rgba(59, 130, 246, 0.5));
}

.premium-brand-text {
    text-align: center;
}

.premium-brand-title {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6, #06b6d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0 0 10px 0;
    letter-spacing: -0.02em;
}

.premium-brand-subtitle {
    font-size: 1rem;
    color: #94a3b8;
    margin: 0 0 20px 0;
    font-weight: 400;
}

.brand-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 20px;
    color: #3b82f6;
    font-size: 0.875rem;
    font-weight: 500;
}

.brand-badge i {
    font-size: 0.75rem;
}

.premium-welcome-section {
    text-align: center;
    margin-bottom: 25px;
}

.premium-welcome-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #f8fafc;
    margin: 0 0 10px 0;
}

.premium-welcome-text {
    color: #94a3b8;
    margin: 0 0 20px 0;
    font-size: 0.95rem;
}

.welcome-decoration {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.decoration-line {
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #3b82f6, transparent);
}

.welcome-decoration i {
    color: #fbbf24;
    font-size: 0.875rem;
    animation: starTwinkle 2s ease-in-out infinite;
}

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

.premium-alert {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 25px;
    position: relative;
    overflow: hidden;
    transform: translateY(-20px);
    opacity: 0;
    animation: premiumSlideIn 0.5s ease-out forwards;
}

@keyframes premiumSlideIn {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.premium-alert-error {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.3);
}

.alert-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(239, 68, 68, 0.1), transparent);
    animation: alertGlow 2s ease-in-out infinite;
}

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

.alert-content-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    position: relative;
    z-index: 1;
}

.premium-alert-icon {
    width: 24px;
    height: 24px;
    background: rgba(239, 68, 68, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ef4444;
    font-size: 0.875rem;
    flex-shrink: 0;
}

.premium-alert-content {
    flex: 1;
}

.premium-alert-title {
    display: block;
    font-weight: 600;
    color: #ef4444;
    margin-bottom: 4px;
    font-size: 0.875rem;
}

.premium-alert-message {
    color: #fca5a5;
    font-size: 0.875rem;
    margin: 0;
    line-height: 1.4;
}

.premium-login-form {
    margin-bottom: 30px;
}

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

.premium-input-wrapper {
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: all 0.3s ease;
    overflow: visible;
    margin-bottom: 18px;
}

.premium-input-wrapper:hover {
    border-color: rgba(59, 130, 246, 0.3);
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-1px);
}

.premium-input-wrapper.focused {
    border-color: #3b82f6;
    background: rgba(59, 130, 246, 0.05);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.premium-input-wrapper.error {
    border-color: #ef4444;
    background: rgba(239, 68, 68, 0.05);
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.premium-input-wrapper:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.input-glow-effect {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(59, 130, 246, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.premium-input-wrapper.focused .input-glow-effect {
    opacity: 1;
}

.premium-input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 1rem;
    transition: all 0.3s ease;
    z-index: 2;
}

.premium-input-wrapper.focused .premium-input-icon {
    color: #3b82f6;
}

.premium-input-wrapper input {
    width: 100%;
    padding: 16px 16px 16px 50px;
    background: transparent;
    border: none;
    color: #f8fafc;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
    position: relative;
    z-index: 3;
}

.premium-input-wrapper input:focus {
    color: #f8fafc;
}

.premium-input-wrapper input::placeholder {
    color: transparent;
}

.premium-input-wrapper input:disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

.premium-floating-label {
    position: absolute;
    left: 50px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 1rem;
    transition: all 0.3s ease;
    pointer-events: none;
    z-index: 2;
}

.premium-input-wrapper.focused .premium-floating-label,
.premium-input-wrapper input:not(:placeholder-shown) + .premium-floating-label {
    top: 8px;
    font-size: 0.75rem;
    color: #3b82f6;
    transform: translateY(0);
}

.input-border-animation {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    transition: width 0.3s ease;
}

.premium-input-wrapper.focused .input-border-animation {
    width: 100%;
}

.premium-password-toggle {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: all 0.3s ease;
    z-index: 2;
}

.premium-password-toggle:hover {
    color: #3b82f6;
    background: rgba(59, 130, 246, 0.1);
}

.premium-password-toggle:disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

/* Input Error Message Styles */
.input-error-message {
    position: absolute;
    bottom: -20px;
    left: 0;
    color: #ef4444;
    font-size: 0.75rem;
    font-weight: 500;
    opacity: 0;
    transform: translateY(-5px);
    transition: all 0.3s ease;
}

.premium-input-wrapper.error .input-error-message {
    opacity: 1;
    transform: translateY(0);
}

.premium-form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 15px;
}

.premium-checkbox-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    user-select: none;
}

.premium-checkbox-wrapper input[type="checkbox"] {
    display: none;
}

.premium-checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    position: relative;
    transition: all 0.3s ease;
}

.premium-checkbox-wrapper input[type="checkbox"]:checked + .premium-checkmark {
    background: #3b82f6;
    border-color: #3b82f6;
}

.premium-checkbox-wrapper input[type="checkbox"]:checked + .premium-checkmark::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.premium-checkbox-label {
    color: #cbd5e1;
    font-size: 0.875rem;
    font-weight: 500;
}

.premium-forgot-link {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #3b82f6;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.premium-forgot-link:hover {
    color: #60a5fa;
    transform: translateY(-1px);
}

.premium-btn {
    width: 100%;
    padding: 14px 24px;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.premium-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

.premium-btn-primary {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.premium-btn-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

.premium-btn-primary:active:not(:disabled) {
    transform: translateY(0);
}

.premium-btn-login {
    position: relative;
}

.btn-content {
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
}

.premium-btn-text {
    transition: all 0.3s ease;
}

.premium-btn-icon {
    transition: all 0.3s ease;
}

.premium-btn:hover .premium-btn-text {
    transform: translateX(-5px);
}

.premium-btn:hover .premium-btn-icon {
    transform: translateX(5px);
}

.btn-glow-effect {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.premium-btn:hover .btn-glow-effect {
    opacity: 1;
}

.premium-btn-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.premium-btn.loading .btn-content {
    opacity: 0;
}

.premium-btn.loading .premium-btn-loader {
    opacity: 1;
}

.premium-spinner {
    width: 24px;
    height: 24px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top: 3px solid white;
    border-radius: 50%;
    animation: premiumSpin 1s linear infinite;
}

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

.premium-login-footer {
    text-align: center;
}

.premium-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.premium-back-link:hover {
    color: #cbd5e1;
    transform: translateX(-5px);
}

.link-hover-effect {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    transition: width 0.3s ease;
}

.premium-back-link:hover .link-hover-effect {
    width: 100%;
}

.premium-showcase-section {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(139, 92, 246, 0.1));
    padding: 60px 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.premium-showcase-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(59,130,246,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.showcase-content-wrapper {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 500px;
}

.premium-showcase-header {
    margin-bottom: 40px;
}

.premium-showcase-title {
    font-size: 2rem;
    font-weight: 700;
    color: #f8fafc;
    margin: 0 0 15px 0;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.premium-showcase-subtitle {
    color: #94a3b8;
    font-size: 1.1rem;
    margin: 0 0 25px 0;
    line-height: 1.6;
}

.showcase-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 25px;
    color: #8b5cf6;
    font-size: 0.875rem;
    font-weight: 600;
}

.showcase-badge i {
    color: #fbbf24;
}

.premium-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.premium-feature-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 25px 20px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(59, 130, 246, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.premium-feature-card:hover .feature-card-glow {
    opacity: 1;
}

.premium-feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(59, 130, 246, 0.05), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.premium-feature-card:hover::before {
    transform: translateX(100%);
}

.premium-feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.premium-feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 1.5rem;
    position: relative;
    transition: all 0.3s ease;
}

.premium-feature-icon::after {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    width: calc(100% + 10px);
    height: calc(100% + 10px);
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    border-radius: 50%;
    opacity: 0.3;
    z-index: -1;
    animation: iconGlow 2s ease-in-out infinite alternate;
}

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

.premium-feature-card h3 {
    color: #f8fafc;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 10px 0;
}

.premium-feature-card p {
    color: #94a3b8;
    font-size: 0.875rem;
    line-height: 1.5;
    margin: 0;
}

.feature-card-decoration {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.premium-feature-card:hover .feature-card-decoration {
    width: 50px;
}

.premium-showcase-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.premium-stat-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(59, 130, 246, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.premium-stat-item:hover .stat-glow {
    opacity: 1;
}

.premium-stat-item:hover {
    transform: translateY(-3px);
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.premium-stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: #3b82f6;
    margin-bottom: 5px;
}

.premium-stat-label {
    color: #94a3b8;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 15px;
}

.stat-icon {
    width: 40px;
    height: 40px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    color: #3b82f6;
    font-size: 1rem;
}

/* Admin Dashboard Styles */
.admin-dashboard {
    background: #f8fafc;
    min-height: 100vh;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Admin Header */
.admin-header {
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: 70px;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    height: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.sidebar-toggle {
    background: none;
    border: none;
    font-size: 18px;
    color: #64748b;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.sidebar-toggle:hover {
    background: #f1f5f9;
    color: #475569;
}

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

.logo img {
    height: 32px;
    width: auto;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.logo svg {
    height: 32px;
    width: auto;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.logo span {
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
}

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

.admin-user {
    display: flex;
    align-items: center;
    gap: 16px;
}

.admin-user span {
    color: #64748b;
    font-size: 14px;
}

.logout-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: #ef4444;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.logout-btn:hover {
    background: #dc2626;
    transform: translateY(-1px);
}

/* Admin Sidebar */
.admin-sidebar {
    position: fixed;
    top: 70px;
    left: 0;
    width: 280px;
    height: calc(100vh - 70px);
    background: #ffffff;
    border-right: 1px solid #e2e8f0;
    overflow-y: auto;
    z-index: 999;
    transition: transform 0.3s ease;
}

.sidebar-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-item {
    margin: 0;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 24px;
    color: #64748b;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

.nav-link:hover {
    background: #f8fafc;
    color: #475569;
    border-left-color: #3b82f6;
}

.nav-link.active {
    background: #eff6ff;
    color: #1d4ed8;
    border-left-color: #3b82f6;
}

.nav-link i {
    font-size: 18px;
    width: 20px;
    text-align: center;
}

/* Main Content */
.admin-main {
    margin-left: 280px;
    margin-top: 70px;
    padding: 32px;
    min-height: calc(100vh - 70px);
}

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

/* Page Header */
.page-header {
    margin-bottom: 32px;
}

.page-header h1 {
    font-size: 32px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 8px 0;
}

.page-header p {
    color: #64748b;
    font-size: 16px;
    margin: 0;
}

/* Statistics Cards */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.stat-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 20px;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
}

.stat-card:nth-child(1) .stat-icon {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
}

.stat-card:nth-child(2) .stat-icon {
    background: linear-gradient(135deg, #10b981, #059669);
}

.stat-card:nth-child(3) .stat-icon {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.stat-card:nth-child(4) .stat-icon {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.stat-content h3 {
    font-size: 32px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 4px 0;
}

.stat-content p {
    color: #64748b;
    font-size: 14px;
    margin: 0;
    font-weight: 500;
}

/* Quick Actions */
.quick-actions {
    margin-bottom: 40px;
}

.quick-actions h2 {
    font-size: 24px;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 24px 0;
}

.actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.action-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 24px;
    text-decoration: none;
    color: inherit;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.action-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-color: #3b82f6;
}

.action-card i {
    font-size: 32px;
    color: #3b82f6;
    width: 60px;
    height: 60px;
    background: #eff6ff;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.action-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
    margin: 0;
}

.action-card p {
    color: #64748b;
    font-size: 14px;
    margin: 0;
    line-height: 1.5;
}

/* Recent Activity */
.recent-activity {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.activity-section h2 {
    font-size: 20px;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 20px 0;
}

.no-data {
    color: #94a3b8;
    font-style: italic;
    text-align: center;
    padding: 40px 20px;
    background: #f8fafc;
    border-radius: 12px;
    border: 2px dashed #cbd5e1;
}

.activity-list {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    border-bottom: 1px solid #f1f5f9;
    transition: background 0.2s ease;
}

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

.activity-item:hover {
    background: #f8fafc;
}

.activity-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: #eff6ff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3b82f6;
    font-size: 16px;
}

.activity-content {
    flex: 1;
}

.activity-content h4 {
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 4px 0;
}

.activity-content p {
    color: #64748b;
    font-size: 13px;
    margin: 0 0 4px 0;
}

.activity-date {
    color: #94a3b8;
    font-size: 12px;
}

.activity-status {
    display: flex;
    align-items: center;
}

.status-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-pending {
    background: #fef3c7;
    color: #d97706;
}

.status-approved {
    background: #d1fae5;
    color: #059669;
}

.status-rejected {
    background: #fee2e2;
    color: #dc2626;
}

.status-new {
    background: #dbeafe;
    color: #2563eb;
}

.status-read {
    background: #f1f5f9;
    color: #64748b;
}

.activity-footer {
    padding: 20px;
    text-align: center;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
}

.btn-outline {
    background: transparent;
    color: #3b82f6;
    border: 1px solid #3b82f6;
}

.btn-outline:hover {
    background: #3b82f6;
    color: white;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .admin-sidebar {
        transform: translateX(-100%);
    }
    
    .admin-sidebar.open {
        transform: translateX(0);
    }
    
    .admin-main {
        margin-left: 0;
    }
    
    .recent-activity {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .admin-main {
        padding: 20px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 16px;
    }
    
    .actions-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .header-content {
        padding: 0 16px;
    }
    
    .logo span {
        display: none;
    }
}

@media (max-width: 480px) {
    .admin-main {
        padding: 16px;
    }
    
    .page-header h1 {
        font-size: 24px;
    }
    
    .stat-card {
        padding: 20px;
    }
    
    .stat-content h3 {
        font-size: 24px;
    }
    
    .action-card {
        padding: 20px;
    }
}

/* Responsive Design for Login Page */
@media (max-width: 1200px) {
    .premium-login-container {
        grid-template-columns: 1fr;
        max-width: 500px;
    }
    
    .premium-showcase-section {
        display: none;
    }
    
    .premium-login-section {
        padding: 40px 35px;
    }
}

@media (max-width: 768px) {
    .admin-login {
        padding: 10px;
    }
    
    .premium-login-container {
        border-radius: 20px;
        max-width: 100%;
    }
    
    .premium-login-section {
        padding: 30px 25px;
    }
    
    .premium-brand-title {
        font-size: 1.75rem;
    }
    
    .premium-welcome-title {
        font-size: 1.25rem;
    }
    
    .premium-features-grid {
        grid-template-columns: 1fr;
    }
    
    .premium-showcase-stats {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .premium-login-section {
        padding: 25px 20px;
    }
    
    .premium-brand-title {
        font-size: 1.5rem;
    }
    
    .premium-welcome-title {
        font-size: 1.1rem;
    }
    
    .premium-logo-orb {
        width: 50px;
        height: 50px;
    }
    
    .premium-logo-img {
        width: 30px;
        height: 30px;
    }
}