﻿/* ===== Indian Army Theme ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
}

body {
    overflow: hidden;
}

.army-bg {
    min-height: 100vh;
    background: linear-gradient(rgba(30, 45, 25, 0.85), rgba(15, 25, 10, 0.92)), url('/images/army-bg.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 30%, rgba(212, 175, 55, 0.08), transparent 50%), radial-gradient(circle at 80% 70%, rgba(85, 107, 47, 0.15), transparent 50%);
    pointer-events: none;
}

.login-wrapper {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 440px;
    padding: 20px;
}

.login-card {
    background: linear-gradient(145deg, #2b3320, #1a2113);
    border: 2px solid #d4af37;
    border-radius: 12px;
    padding: 35px 30px 25px;
    box-shadow: 0 0 0 6px rgba(212, 175, 55, 0.08), 0 20px 60px rgba(0, 0, 0, 0.7);
    position: relative;
}

    /* Corner ribbon accents */
    .login-card::before,
    .login-card::after {
        content: '';
        position: absolute;
        width: 40px;
        height: 40px;
        border: 3px solid #d4af37;
    }

    .login-card::before {
        top: -3px;
        left: -3px;
        border-right: none;
        border-bottom: none;
        border-radius: 12px 0 0 0;
    }

    .login-card::after {
        bottom: -3px;
        right: -3px;
        border-left: none;
        border-top: none;
        border-radius: 0 0 12px 0;
    }

/* Header */
.army-header {
    text-align: center;
    margin-bottom: 28px;
}

.emblem {
    width: 75px;
    height: 75px;
    margin: 0 auto 12px;
    background: radial-gradient(circle, #d4af37 0%, #8a6d1f 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 25px rgba(212, 175, 55, 0.5), inset 0 0 10px rgba(0,0,0,0.4);
    border: 3px solid #f5e6a8;
}

    .emblem i {
        font-size: 38px;
        color: #1a2113;
    }

.army-header h1 {
    color: #d4af37;
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 4px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.6);
}

.army-header h2 {
    color: #c9d4a8;
    font-size: 12px;
    letter-spacing: 2.5px;
    font-weight: 600;
    margin-top: 4px;
}

.ribbon {
    margin-top: 10px;
    display: inline-block;
    padding: 3px 16px;
    background: linear-gradient(90deg, transparent, rgba(212,175,55,0.2), transparent);
    color: #d4af37;
    font-size: 12px;
    letter-spacing: 1.5px;
    border-top: 1px solid rgba(212,175,55,0.4);
    border-bottom: 1px solid rgba(212,175,55,0.4);
}

/* Inputs */
.input-group-army label {
    color: #c9d4a8;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 6px;
    display: block;
}

    .input-group-army label i {
        color: #d4af37;
        margin-right: 6px;
    }

.army-input {
    background: rgba(0,0,0,0.35) !important;
    border: 1.5px solid #556b2f !important;
    color: #f0f0e0 !important;
    padding: 11px 14px !important;
    border-radius: 6px !important;
    font-size: 15px;
    transition: all 0.25s;
}

    .army-input:focus {
        border-color: #d4af37 !important;
        box-shadow: 0 0 0 3px rgba(212,175,55,0.2) !important;
        background: rgba(0,0,0,0.5) !important;
    }

    .army-input::placeholder {
        color: #6b7a55;
    }

.password-wrap {
    position: relative;
}

.toggle-pwd {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #d4af37;
    cursor: pointer;
    font-size: 15px;
}

.remember, .forgot {
    color: #a8b58a;
    font-size: 13px;
    text-decoration: none;
}

    .remember input {
        accent-color: #d4af37;
        margin-right: 5px;
    }

    .forgot:hover {
        color: #d4af37;
    }

/* Button */
.btn-army-login {
    width: 100%;
    padding: 12px;
    background: linear-gradient(145deg, #d4af37, #a8841f);
    color: #1a2113;
    border: none;
    border-radius: 6px;
    font-weight: 800;
    letter-spacing: 2px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(212,175,55,0.35);
}

    .btn-army-login:hover {
        background: linear-gradient(145deg, #f5d76e, #d4af37);
        transform: translateY(-2px);
        box-shadow: 0 8px 22px rgba(212,175,55,0.5);
    }

    .btn-army-login:disabled {
        opacity: 0.6;
        cursor: not-allowed;
    }

/* Message */
.login-msg {
    text-align: center;
    font-size: 13.5px;
    padding: 8px;
    border-radius: 6px;
    display: none;
}

    .login-msg.error {
        display: block;
        background: rgba(220,53,69,0.15);
        color: #ff8a95;
        border: 1px solid rgba(220,53,69,0.4);
    }

    .login-msg.success {
        display: block;
        background: rgba(40,167,69,0.15);
        color: #7ce495;
        border: 1px solid rgba(40,167,69,0.4);
    }

/* Footer */
.army-footer {
    margin-top: 25px;
    padding-top: 15px;
    border-top: 1px solid rgba(212,175,55,0.2);
    text-align: center;
    color: #7a8a5f;
    font-size: 11.5px;
}

    .army-footer i {
        color: #d4af37;
    }

    .army-footer .small {
        font-size: 10.5px;
        margin-top: 3px;
    }
