/* ===== PREMIUM REDESIGN - TONGAS MILITARY SUPPLY ===== */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #0d2b13;
    --secondary-color: #1a472a;
    --accent-color: #2e7d32;
    --gold-color: #d4af37;
    --danger-color: #c62828;
    --warning-color: #FF9800;
    --info-color: #2196F3;
    --light-bg: #0c130e;
    --card-bg: #1a1f1c;
    --border-color: #2d3b2f;
    --text-color: #e8f5e9;
    --text-light: #a5d6a7;
    --white: #ffffff;
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    --shadow-hover: 0 12px 40px rgba(0, 0, 0, 0.5);
    --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --radius: 12px;
    --radius-lg: 20px;
}

body {
    font-family: 'Montserrat', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, var(--light-bg) 0%, #0f1911 100%);
    color: var(--text-color);
    line-height: 1.7;
    overflow-x: hidden;
    min-height: 100vh;
}

.container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Full Screen Authentication Page */
.auth-page {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(46, 125, 50, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(212, 175, 55, 0.1) 0%, transparent 50%),
        linear-gradient(135deg, var(--primary-color) 0%, #0c130e 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    text-align: center;
    padding: 2rem;
}

.auth-page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%232e7d32' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.3;
}

.auth-content {
    position: relative;
    z-index: 2;
    width: 4in;
    height: 7in;
    background: linear-gradient(135deg, rgba(26, 31, 28, 0.95) 0%, rgba(13, 43, 19, 0.9) 100%);
    padding: 2rem 1.5rem;
    border-radius: var(--radius-lg);
    border: 2px solid rgba(212, 175, 55, 0.4);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-hover);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.auth-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--gold-color) 0%, #ffd700 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.auth-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 0.8rem;
    background: linear-gradient(135deg, var(--white) 0%, var(--gold-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.auth-subtitle {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.auth-form {
    text-align: center;
    width: 100%;
}

.form-group {
    margin-bottom: 1.2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--white);
    font-weight: 600;
    font-size: 0.85rem;
}

.form-group input {
    width: 200px;
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: var(--radius);
    color: var(--text-color);
    font-size: 0.85rem;
    transition: var(--transition);
    text-align: center;
    margin: 0 auto;
    display: block;
}

.form-group input:focus {
    outline: none;
    border-color: var(--gold-color);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
    transform: translateY(-2px);
}

.form-group input::placeholder {
    color: var(--text-light);
    opacity: 0.7;
    font-size: 0.8rem;
    text-align: center;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--gold-color) 0%, #ffd700 100%);
    color: var(--primary-color);
    padding: 8px 16px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.4);
    font-size: 0.8rem;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    width: 100px;
    margin: 0.5rem auto 0;
    height: 40px;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: 0.5s;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(212, 175, 55, 0.6);
}

.error-message {
    background: rgba(198, 40, 40, 0.1);
    color: #ff8a80;
    padding: 0.5rem;
    border-radius: var(--radius);
    border-left: 4px solid #c62828;
    margin-top: 0.8rem;
    display: none;
    font-size: 0.8rem;
}

.loading-spinner {
    display: none;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--white);
    animation: spin 1s ease-in-out infinite;
    margin-left: 8px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Dashboard Styles (Hidden by default) */
.dashboard-container {
    display: none;
}

/* Premium Navigation */
.navbar {
    background: rgba(13, 43, 19, 0.95);
    backdrop-filter: blur(20px);
    padding: 0.5rem 0; /* Mas maliit */
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--gold-color);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
    display: none;
    height: 75px; /* Mas compact */
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 15px;
}



.nav-logo-text {
    display: flex;
    flex-direction: column;
}

.nav-logo h2 {
    color: var(--white);
    font-size: 1.4rem; /* Binawasan */
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    background: linear-gradient(135deg, var(--white) 0%, var(--gold-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subtitle {
    color: var(--gold-color);
    font-size: 0.65rem; /* Binawasan */
    font-weight: 600;
    letter-spacing: 1px;
    margin-top: 1px; /* Binawasan */
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-link {
    color: var(--text-color);
    text-decoration: none;
    padding: 8px 16px;
    font-weight: 600;
    transition: var(--transition);
    border-radius: 30px;
    position: relative;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    margin-top: 30px; /* Dagdag para ibaba */
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--gold-color) 0%, transparent 100%);
    border-radius: 30px;
    opacity: 0;
    transition: var(--transition);
    z-index: -1;
}

.nav-link:hover::before,
.nav-link.active::before {
    opacity: 0.1;
}

.nav-link:hover,
.nav-link.active {
    color: var(--gold-color);
    transform: translateY(-2px);
}

.user-logged-in {
    position: relative;
}

.user-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: linear-gradient(135deg, rgba(26, 31, 28, 0.98) 0%, rgba(13, 43, 19, 0.95) 100%);
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-hover);
    backdrop-filter: blur(20px);
    min-width: 220px;
    z-index: 1000;
    display: none;
    margin-top: 10px;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.user-dropdown.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.user-dropdown::before {
    content: '';
    position: absolute;
    top: -10px;
    right: 15px;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid rgba(26, 31, 28, 0.98);
}

.user-info {
    padding: 1.2rem;
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
    background: rgba(212, 175, 55, 0.1);
}

.user-info strong {
    display: block;
    color: var(--white);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.user-info small {
    color: var(--gold-color);
    font-size: 0.8rem;
    font-weight: 500;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 1.2rem;
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 400;
}

.dropdown-item:hover {
    background: rgba(212, 175, 55, 0.2);
    color: var(--gold-color);
    transform: translateX(5px);
}

.dropdown-item i {
    width: 16px;
    text-align: center;
    color: var(--gold-color);
}

/* Dashboard Content */
.dashboard {
    padding: 8rem 0 4rem;
    min-height: 100vh;
}

.dashboard-header {
    text-align: center;
    margin-bottom: 2rem;
    height: .3in;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0;
    position: relative;
}

.dashboard-header h1 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.2rem;
    background: linear-gradient(135deg, var(--white) 0%, var(--gold-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
}

.dashboard-header p {
    color: var(--text-light);
    font-size: 0.8rem;
    max-width: 500px;
    margin: 0;
    line-height: 1.2;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.dashboard-card {
    background: linear-gradient(135deg, rgba(26, 31, 28, 0.9) 0%, rgba(13, 43, 19, 0.7) 100%);
    padding: 2.5rem 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid rgba(212, 175, 55, 0.3);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.dashboard-card:first-child {
    height: 50px;

}


.dashboard-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold-color) 0%, var(--accent-color) 100%);
    transform: scaleX(0);
    transition: transform 0.6s ease;
}

.dashboard-card:hover::before {
    transform: scaleX(1);
}

.dashboard-card:hover {
    transform: translateY(-10px);
    border-color: rgba(212, 175, 55, 0.6);
    box-shadow: var(--shadow-hover);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--gold-color) 0%, #ffd700 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: var(--transition);
}

.dashboard-card:hover .card-icon {
    transform: scale(1.1);
}

.dashboard-card h3 {
    margin-bottom: 1rem;
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 700;
}

.dashboard-card p {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.6;
}

.card-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, var(--gold-color) 0%, #ffd700 100%);
    color: var(--primary-color);
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.7rem;
    font-weight: 900;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

/* Footer - Compact Version */
.footer {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0a100c 100%);
    color: var(--white);
    padding: 1.5rem 0 0.8rem; /* Mas maliit */
    border-top: 1px solid var(--gold-color);
    position: relative;
    display: none;
    margin-top: auto;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 1rem;
    
    color: var(--text-light);
    font-size: 0.75rem;
}

/* Notification System */
.notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 10px 15px;
    border-radius: var(--radius);
    color: var(--white);
    font-weight: bold;
    z-index: 10000;
    box-shadow: var(--shadow-hover);
    display: none;
    animation: slideInRight 0.3s ease;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.notification.success {
    background-color: var(--accent-color);
}

.notification.error {
    background-color: var(--danger-color);
}

/* Navigation Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    background: none;
    border: none;
    padding: 5px;
    z-index: 1001;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--gold-color);
    margin: 3px 0;
    transition: var(--transition);
    border-radius: 2px;
}

/* Mobile Menu Styles */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background: rgba(13, 43, 19, 0.98);
        backdrop-filter: blur(30px);
        width: 100%;
        text-align: center;
        transition: var(--transition);
        padding: 2rem 0;
        z-index: 999;
        border-top: 1px solid var(--gold-color);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-link {
        margin: 0.8rem 0;
        display: block;
        padding: 15px 20px;
        font-size: 1.1rem;
        border-radius: 0;
        border-left: 4px solid transparent;
        transition: var(--transition);
    }

    .nav-link:hover,
    .nav-link.active {
        background: rgba(212, 175, 55, 0.1);
        border-left-color: var(--gold-color);
        transform: translateX(10px);
    }

    .auth-content {
        padding: 2rem;
        margin: 1rem;
    }

    .auth-title {
        font-size: 2rem;
    }
}

/* Add this to your style.css file */
.auth-footer {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(212, 175, 55, 0.3);
    text-align: center;
}

.auth-footer p {
    color: var(--gold-color);
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin: 0;
    background: linear-gradient(135deg, var(--gold-color) 0%, #ffd700 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}


/* Password Field with Toggle */
.password-container {
    position: relative;
    width: 200px;
    margin: 0 auto;
}

.password-container input {
    width: 100% !important;
    padding-right: 40px !important;
}

.password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    padding: 5px;
    transition: var(--transition);
}

.password-toggle:hover {
    color: var(--gold-color);
}

.password-toggle:focus {
    outline: none;
}


/* ===== MILITARY ANIMATION BACKGROUND ===== */
.auth-page {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(46, 125, 50, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(212, 175, 55, 0.1) 0%, transparent 50%),
        linear-gradient(135deg, var(--primary-color) 0%, #0c130e 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    text-align: center;
    padding: 2rem;
    overflow: hidden;
}

/* Military Animation Elements */
.auth-page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%232e7d32' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.3;
}

/* Military Grid Animation */
.military-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(46, 125, 50, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(46, 125, 50, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
    z-index: 1;
}

@keyframes gridMove {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(50px, 50px);
    }
}

/* Radar Sweep Animation */
.radar-sweep {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 400px;
    height: 400px;
    margin-left: -200px;
    margin-top: -200px;
    border-radius: 50%;
    border: 2px solid rgba(46, 125, 50, 0.3);
    z-index: 1;
    overflow: hidden;
}

.radar-sweep::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: conic-gradient(
        from 0deg,
        transparent 0deg,
        rgba(46, 125, 50, 0.5) 30deg,
        transparent 60deg
    );
    animation: radarRotate 4s linear infinite;
}

@keyframes radarRotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Military Badge Animation */
.military-badge {
    position: absolute;
    top: 20%;
    left: 10%;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    animation: badgePulse 3s ease-in-out infinite;
    z-index: 1;
}

.military-badge:nth-child(2) {
    top: 70%;
    left: 80%;
    animation-delay: 1.5s;
}

.military-badge:nth-child(3) {
    top: 30%;
    left: 85%;
    animation-delay: 0.7s;
}

.military-badge:nth-child(4) {
    top: 80%;
    left: 15%;
    animation-delay: 2.2s;
}

@keyframes badgePulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.6;
    }
}

/* Military Pattern Animation */
.military-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(212, 175, 55, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(46, 125, 50, 0.1) 0%, transparent 50%);
    animation: patternShift 15s ease-in-out infinite alternate;
    z-index: 1;
}

@keyframes patternShift {
    0% {
        background-position: 0% 0%;
    }
    100% {
        background-position: 100% 100%;
    }
}

/* Military Lines Animation */
.military-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(90deg, transparent 95%, rgba(212, 175, 55, 0.1) 100%),
        linear-gradient(0deg, transparent 95%, rgba(212, 175, 55, 0.1) 100%);
    background-size: 50px 50px;
    animation: linesMove 25s linear infinite;
    z-index: 1;
}

@keyframes linesMove {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(-50px, -50px);
    }
}

/* Animated Military Icons */
.military-icon {
    position: absolute;
    font-size: 24px;
    color: rgba(212, 175, 55, 0.3);
    z-index: 1;
    animation: float 6s ease-in-out infinite;
}

.military-icon:nth-child(1) {
    top: 15%;
    left: 20%;
    animation-delay: 0s;
}

.military-icon:nth-child(2) {
    top: 25%;
    left: 80%;
    animation-delay: 1s;
}

.military-icon:nth-child(3) {
    top: 65%;
    left: 10%;
    animation-delay: 2s;
}

.military-icon:nth-child(4) {
    top: 75%;
    left: 70%;
    animation-delay: 3s;
}

.military-icon:nth-child(5) {
    top: 45%;
    left: 90%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(10deg);
    }
}

/* Authentication Content - Ensure it stays on top */
.auth-content {
    position: relative;
    z-index: 10;
    width: 4in;
    height: 7in;
    background: linear-gradient(135deg, rgba(26, 31, 28, 0.95) 0%, rgba(13, 43, 19, 0.9) 100%);
    padding: 2rem 1.5rem;
    border-radius: var(--radius-lg);
    border: 2px solid rgba(212, 175, 55, 0.4);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-hover);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}