﻿:root {
    --primary-dark: #004a93;
    --primary-gold: #f5c114;
    --primary-dark-light: #1a4066;
    --primary-gold-light: #f5c114;
    --text-light: #ffffff;
    --text-dark: #004a93;
    --bg-light: #f8f9fa;
}

body {
    /* 🌈 Animated Gradient Background */
    background: linear-gradient(135deg, #f5c114 0%, #004a93 25%, #0056b3 50%, #f5c114);
    background-size: 300% 300%;
    animation: gradientMove 10s ease infinite;
    min-height: 100vh;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    position: relative;
    overflow-x: hidden;
}
/* 🌈 Gradient Animation */
@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Animated background elements */
body::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, var(--primary-gold-light) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.1;
    animation: backgroundMove 20s linear infinite;
}

@keyframes backgroundMove {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(50px, 50px);
    }
}

.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
    z-index: 2;
}

.login-wrapper {
    max-width: 900px;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(11, 45, 76, 0.3);
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 1px solid #128ccd;
}

.login-left {
    background: linear-gradient(45deg, var(--primary-dark) 0%, var(--primary-dark-light) 100%);
    color: var(--text-light);
    padding: 20px 20px 60px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* .login-left::before {
            content: '';
            position: absolute;
            top: -50%;
            right: -50%;
            width: 100%;
            height: 200%;
            background: var(--primary-gold);
            opacity: 0.1;
            border-radius: 50%;
            animation: float 6s ease-in-out infinite;
        } */

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

.login-left h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
    color: #f5c114;
    text-shadow: #004fa1 2px 3px 2px;
    text-transform: uppercase;
}

.login-left h3 {
    margin-top: 30px;
    font-size: 30px;
}

.login-left p {
    font-size: 1.1rem;
    opacity: 0.9;
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

.brand-icon {
    font-size: 4rem;
    color: var(--primary-gold);
    margin-bottom: 30px;
    position: relative;
    /* z-index: 2;
            animation: pulse 2s infinite; */
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

.login-right {
    padding: 60px 40px;
    background: white;
}

.login-header {
    text-align: center;
    margin-bottom: 40px;
}

    .login-header h3 {
        color: var(--primary-dark);
        font-size: 2rem;
        font-weight: 600;
        margin-bottom: 10px;
    }

    .login-header p {
        color: #6c757d;
        font-size: 1rem;
    }

.form-floating {
    margin-bottom: 25px;
    position: relative;
}

.form-control {
    border: 2px solid #1193d1;
    border-radius: 12px;
    padding: 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

    .form-control:focus {
        border-color: var(--primary-gold);
        box-shadow: 0 0 0 0.2rem rgba(246, 194, 20, 0.25);
        background: white;
    }

.form-floating label {
    color: #6c757d;
    font-weight: 500;
}

.form-control:focus ~ label,
.form-control:not(:placeholder-shown) ~ label {
    color: var(--primary-dark);
}

.btn-login {
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--primary-gold-light) 100%);
    border: none;
    border-radius: 12px;
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-dark);
    width: 100%;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

    .btn-login:hover {
        background: linear-gradient(135deg, var(--primary-gold-light) 0%, var(--primary-gold) 100%);
        transform: translateY(-2px);
        box-shadow: 0 10px 25px rgba(246, 194, 20, 0.4);
        color: var(--primary-dark);
    }

    .btn-login:active {
        transform: translateY(0);
    }

.password-toggle {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #6c757d;
    cursor: pointer;
    z-index: 5;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

    .password-toggle:hover {
        color: var(--primary-dark);
    }

.form-check-input:checked {
    background-color: var(--primary-gold);
    border-color: var(--primary-gold);
}

.form-check-input:focus {
    box-shadow: 0 0 0 0.25rem rgba(246, 194, 20, 0.25);
}

.forgot-password {
    color: var(--primary-dark);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    font-weight: 500;
}

    .forgot-password:hover {
        color: var(--primary-gold);
        text-decoration: underline;
    }

.divider {
    margin: 30px 0;
    text-align: center;
    position: relative;
}

    .divider::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 0;
        right: 0;
        height: 1px;
        background: #dee2e6;
    }

    .divider span {
        background: white;
        padding: 0 20px;
        color: #6c757d;
        font-size: 0.9rem;
        font-weight: 500;
    }

.social-login {
    display: flex;
    gap: 15px;
}

.btn-social {
    flex: 1;
    border-radius: 12px;
    padding: 12px;
    font-weight: 500;
    border: 2px solid;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-google {
    color: #db4437;
    border-color: #db4437;
    background: white;
}

    .btn-google:hover {
        background: #db4437;
        color: white;
        transform: translateY(-2px);
    }

.btn-facebook {
    color: #3b5998;
    border-color: #3b5998;
    background: white;
}

    .btn-facebook:hover {
        background: #3b5998;
        color: white;
        transform: translateY(-2px);
    }

.signup-link {
    text-align: center;
    margin-top: 30px;
    color: #6c757d;
    font-size: 0.95rem;
}

    .signup-link a {
        color: var(--primary-dark);
        text-decoration: none;
        font-weight: 600;
        transition: color 0.3s ease;
    }

        .signup-link a:hover {
            color: var(--primary-gold);
        }

/* Loading animation */
.spinner-border-sm {
    width: 1rem;
    height: 1rem;
    border-width: 2px;
}

.logoamizone {
    width: 300px;
}
/* Responsive Design */
@media (max-width: 768px) {
    .login-left {
        padding: 10px 0px;
        /* display: none; */
    }

    .brand-icon {
        margin-bottom: 0px;
        font-size: 0px;
    }

    .login-left h2 {
        margin-bottom: 0px;
        margin-top: 7px;
        font-size: 24px;
    }

    .login-left h3 {
        margin-bottom: 0px;
        padding-left: 10px;
        padding-right: 10px;
        margin-top: 7px;
        font-size: 24px;
        font-weight: normal;
    }

    .logoamizone {
        width: 200px;
    }

    .login-right {
        padding: 40px 30px;
    }

    .login-wrapper {
        margin: 10px;
    }

    .login-header h3 {
        font-size: 1.5rem;
    }

    .login-header {
        margin-bottom: 29px;
    }
}

@media (max-width: 576px) {
    .social-login {
        flex-direction: column;
    }

    .login-right {
        padding: 10px 20px;
    }
}

.text-shadow1 {
    text-shadow: #1170b8 2px 3px 2px;
}

/* Floating orbs */
.floating-orb {
    position: absolute;
    background: url(../images/plus-icon.png) no-repeat;
    background-size: 100%;
    /* border-radius: 50%; */
    /* background: rgba(245, 193, 20, 0.15); */
    backdrop-filter: blur(10px);
    animation: floatOrb 15s ease-in-out infinite;
    /* border: 1px solid rgba(245, 193, 20, 0.2); */
}

    .floating-orb:nth-child(1) {
        width: 40px;
        height: 40px;
        top: 20%;
        left: 10%;
        animation-delay: 0s;
    }

    .floating-orb:nth-child(6) {
        width: 40px;
        height: 40px;
        top: 25%;
        right: 10%;
        animation-delay: 0s;
    }

    .floating-orb:nth-child(2) {
        width: 40px;
        height: 40px;
        bottom: 20%;
        right: 10%;
        animation-delay: -5s;
    }

    .floating-orb:nth-child(3) {
        width: 40px;
        height: 40px;
        bottom: 20%;
        left: 10%;
        animation-delay: 20s;
    }

    .floating-orb:nth-child(4) {
        width: 40px;
        height: 40px;
        bottom: 44%;
        left: 10%;
        animation-delay: -10s;
    }

    .floating-orb:nth-child(5) {
        width: 40px;
        height: 40px;
        bottom: 44%;
        right: 10%;
        animation-delay: -10s;
    }

/* .floating-orb:nth-child(6) {
            width: 40px;
            height: 40px;
            top: 20%;
            right: 10%;
            animation-delay: -20s;
        } */

@keyframes floatOrb {
    0%, 100% {
        transform: translateY(0) translateX(0) scale(1);
    }

    33% {
        transform: translateY(-30px) translateX(20px) scale(1.1);
    }

    66% {
        transform: translateY(20px) translateX(-20px) scale(0.9);
    }
}
