﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: linear-gradient(rgba(0,0,0,0.75), rgba(0,0,0,0.75)), url('https://images.unsplash.com/photo-1510137600163-2729bc6959a6?q=80&w=1933&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.login-container {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 40px 30px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
    max-width: 400px;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0,0,0,0.6);
}

.alert-danger{
    padding: 15px;
    color: red;

}
.alert-danger li{
    list-style: none

}


.logo-placeholder {
    width: 90px;
    height: 90px;
    background: #d4af37;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid rgba(255,255,255,0.1);
    overflow: hidden;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.2);
}

    .logo-placeholder img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.password-wrapper{
    position: relative;
}

.toggle-password {
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    color: #888;
    cursor: pointer;
    font-size: 18px;
    transition: color 0.3s;
    z-index: 10;
}

    .toggle-password:hover {
        color: #d4af37;
    }

h2 {
    color: #fff;
    margin-bottom: 25px;
    font-size: 1.5rem;
    font-weight: 300;
}

    h2 strong {
        color: #d4af37;
        font-weight: 600;
    }

.input-group {
    margin-bottom: 18px;
}

    .input-group input {
        width: 100%;
        padding: 14px 15px;
        background: rgba(255,255,255,0.08);
        border: 1px solid rgba(255,255,255,0.1);
        outline: none;
        border-radius: 10px;
        color: #fff;
        font-size: 16px;
        transition: all 0.3s ease;
    }

        .input-group input:focus {
            border-color: #d4af37;
            background: rgba(255,255,255,0.15);
            box-shadow: 0 0 10px rgba(212, 175, 55, 0.1);
        }






.checkbox-wrapper {
    --checkbox-size: 25px;
    --checkbox-color: #ffc300;
    --checkbox-shadow: rgb(255 204 0 / 30%);
    --checkbox-border: rgb(212 175 55);
    display: flex;
    align-items: center;
    position: relative;
    cursor: pointer;
    padding: 10px;
}

    .checkbox-wrapper input {
        position: absolute;
        opacity: 0;
        cursor: pointer;
        height: 0;
        width: 0;
    }

    .checkbox-wrapper .checkmark {
        position: relative;
        width: var(--checkbox-size);
        height: var(--checkbox-size);
        border: 2px solid var(--checkbox-border);
        border-radius: 8px;
        transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
        display: flex;
        justify-content: center;
        align-items: center;
        background: rgba(0, 0, 0, 0.2);
        box-shadow: 0 0 15px var(--checkbox-shadow);
        overflow: hidden;
    }

        .checkbox-wrapper .checkmark::before {
            content: "";
            position: absolute;
            width: 100%;
            height: 100%;
            background: linear-gradient(45deg, var(--checkbox-color), #00ffcc);
            opacity: 0;
            transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
            transform: scale(0) rotate(-45deg);
        }

    .checkbox-wrapper input:checked ~ .checkmark::before {
        opacity: 1;
        transform: scale(1) rotate(0);
    }

    .checkbox-wrapper .checkmark svg {
        width: 0;
        height: 0;
        color: #1a1a1a;
        z-index: 1;
        transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
        filter: drop-shadow(0 0 2px rgba(0, 0, 0, 0.5));
    }

    .checkbox-wrapper input:checked ~ .checkmark svg {
        width: 18px;
        height: 18px;
        transform: rotate(360deg);
    }

    .checkbox-wrapper:hover .checkmark {
        border-color: var(--checkbox-color);
        transform: scale(1.1);
        box-shadow: 0 0 20px var(--checkbox-shadow), 0 0 40px var(--checkbox-shadow), inset 0 0 10px var(--checkbox-shadow);
    }

    .checkbox-wrapper input:checked ~ .checkmark {
        animation: pulse 1s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    }

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 20px var(--checkbox-shadow);
    }

    50% {
        transform: scale(0.9);
        box-shadow: 0 0 30px var(--checkbox-shadow), 0 0 50px var(--checkbox-shadow);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 20px var(--checkbox-shadow);
    }
}

.checkbox-wrapper .label {
    margin-left: 15px;
    font-family: "Segoe UI", sans-serif;
    color: var(--checkbox-color);
    font-size: 18px;
    text-shadow: 0 0 10px var(--checkbox-shadow);
    opacity: 0.9;
    transition: all 0.3s;
}

.checkbox-wrapper:hover .label {
    opacity: 1;
    transform: translateX(5px);
}

/* Glowing dots animation */
.checkbox-wrapper::after,
.checkbox-wrapper::before {
    content: "";
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--checkbox-color);
    opacity: 0;
    transition: all 0.5s;
}

.checkbox-wrapper::before {
    left: -10px;
    top: 50%;
}

.checkbox-wrapper::after {
    right: -10px;
    top: 50%;
}

.checkbox-wrapper:hover::before {
    opacity: 1;
    transform: translateX(-10px);
    box-shadow: 0 0 10px var(--checkbox-color);
}

.checkbox-wrapper:hover::after {
    opacity: 1;
    transform: translateX(10px);
    box-shadow: 0 0 10px var(--checkbox-color);
}






.login-btn {
    width: 100%;
    padding: 14px;
    background: #d4af37;
    border: none;
    border-radius: 10px;
    color: #1a1a1a;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
    text-transform: uppercase;
}

    .login-btn:hover {
        background: #f1c40f;
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
    }

.footer-links {
    margin-top: 25px;
}

    .footer-links a {
        color: #fff;
        text-decoration: none;
        font-size: 14px;
        opacity: 0.8;
        transition: 0.3s;
    }

        .footer-links a:hover {
            opacity: 1;
            color: #d4af37;
            text-decoration: underline;
        }

/* Responsive Media Queries */
@media (max-width: 480px) {
    .login-container {
        padding: 30px 20px;
    }

    h2 {
        font-size: 1.2rem;
    }

    .logo-placeholder {
        width: 80px;
        height: 80px;
    }
}
