/* Login Page Styles */

/* Full page hero background */
.login-hero {
    min-height: 100vh;
    background: linear-gradient(135deg, #1a472a 0%, #0d2818 40%, #1a3a2a 70%, #0f3d1f 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Animated background elements */
.login-bg-decoration {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
}

.login-circle {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(115,236,139,0.15) 0%, rgba(55,159,0,0.08) 100%);
}

.login-circle-1 {
    width: 600px;
    height: 600px;
    top: -200px;
    left: -200px;
    animation: floatSlow 15s ease-in-out infinite;
}

.login-circle-2 {
    width: 400px;
    height: 400px;
    bottom: -150px;
    right: -100px;
    background: linear-gradient(135deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.02) 100%);
    animation: floatSlow 12s ease-in-out infinite reverse;
}

.login-circle-3 {
    width: 250px;
    height: 250px;
    top: 50%;
    left: 10%;
    background: linear-gradient(135deg, rgba(115,236,139,0.1) 0%, rgba(55,159,0,0.05) 100%);
    animation: floatSlow 18s ease-in-out infinite;
}

.login-circle-4 {
    width: 150px;
    height: 150px;
    top: 20%;
    right: 15%;
    background: linear-gradient(135deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.02) 100%);
    animation: floatSlow 10s ease-in-out infinite reverse;
}

/* Football field pattern overlay */
.login-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 10% 90%, rgba(115,236,139,0.05) 0%, transparent 40%),
        radial-gradient(circle at 90% 10%, rgba(255,255,255,0.03) 0%, transparent 30%),
        linear-gradient(90deg, transparent 49.8%, rgba(255,255,255,0.015) 49.8%, rgba(255,255,255,0.015) 50.2%, transparent 50.2%),
        linear-gradient(0deg, transparent 49.8%, rgba(255,255,255,0.015) 49.8%, rgba(255,255,255,0.015) 50.2%, transparent 50.2%);
    background-size: 100% 100%, 100% 100%, 80px 80px, 80px 80px;
}

/* Floating football icon */
.login-football-icon {
    position: absolute;
    right: 8%;
    top: 15%;
    width: 200px;
    height: 200px;
    opacity: 0.15;
    animation: spinSlow 40s linear infinite;
}

.login-trophy-icon {
    position: absolute;
    left: 5%;
    bottom: 10%;
    width: 100px;
    height: 100px;
    opacity: 0.12;
    animation: bounce 4s ease-in-out infinite;
}

@keyframes floatSlow {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(3deg); }
}

@keyframes spinSlow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* Main container */
.login-container {
    display: flex;
    width: 100%;
    max-width: 1200px;
    min-height: 600px;
    margin: 20px;
    position: relative;
    z-index: 1;
}

/* Left side - Features */
.login-features {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px;
    color: #fff;
}

.login-brand {
    margin-bottom: 40px;
}

.login-brand img {
    height: 80px;
}

.login-tagline {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #fff 0%, #73EC8B 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.login-subtitle {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.7);
    margin-bottom: 40px;
    max-width: 400px;
}

.login-feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.login-feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.login-feature-item:last-child {
    border-bottom: none;
}

.login-feature-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(115,236,139,0.3) 0%, rgba(55,159,0,0.2) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.login-feature-text h4 {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 4px 0;
    color: #fff;
}

.login-feature-text p {
    font-size: 0.85rem;
    margin: 0;
    color: rgba(255,255,255,0.6);
}

/* Right side - Login card */
.login-card-wrapper {
    flex: 0 0 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.login-card {
    width: 100%;
    background: rgba(255,255,255,0.98);
    border-radius: 24px;
    padding: 50px 40px;
    box-shadow: 0 25px 80px rgba(0,0,0,0.3);
    backdrop-filter: blur(20px);
}

.login-card-header {
    text-align: center;
    margin-bottom: 35px;
}

.login-card-logo {
    width: 120px;
    height: auto;
    margin: 0 auto 20px;
}

.login-card-logo img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.login-card-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1a472a;
    margin: 0 0 8px 0;
}

.login-card-subtitle {
    font-size: 0.95rem;
    color: #666;
    margin: 0;
}

.login-badge {
    display: inline-block;
    background: linear-gradient(135deg, #ffc107 0%, #ff9800 100%);
    color: #000;
    font-size: 10px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    margin-left: 8px;
    vertical-align: middle;
}

/* Form styles */
.login-form .form-group {
    margin-bottom: 24px;
}

.login-form .form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.login-form .form-control {
    width: 100%;
    padding: 14px 18px;
    font-size: 1rem;
    border: 2px solid #e8e8e8;
    border-radius: 12px;
    background: #f8f9fa;
    transition: all 0.3s ease;
}

.login-form .form-control:focus {
    border-color: #73EC8B;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(115,236,139,0.15);
    outline: none;
}

.login-form .form-control::placeholder {
    color: #aaa;
}

.login-form .password-wrapper {
    position: relative;
}

.login-form .password-toggle {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #888;
    cursor: pointer;
    padding: 5px;
    transition: color 0.2s;
}

.login-form .password-toggle:hover {
    color: #1a472a;
}

.login-form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.login-form-options .form-check {
    display: flex;
    align-items: center;
    gap: 8px;
}

.login-form-options .form-check-input {
    width: 18px;
    height: 18px;
    border: 2px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
}

.login-form-options .form-check-input:checked {
    background-color: #1a472a;
    border-color: #1a472a;
}

.login-form-options .form-check-label {
    font-size: 0.9rem;
    color: #555;
    cursor: pointer;
}

.login-forgot-link {
    font-size: 0.9rem;
    color: #1a472a;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.login-forgot-link:hover {
    color: #73EC8B;
    text-decoration: underline;
}

.login-submit-btn {
    width: 100%;
    padding: 16px 24px;
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #1a472a 0%, #2d5a3d 100%);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(26,71,42,0.3);
}

.login-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(26,71,42,0.4);
    background: linear-gradient(135deg, #2d5a3d 0%, #3d7a4f 100%);
}

.login-submit-btn:active {
    transform: translateY(0);
}

/* Footer */
.login-footer {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.login-footer p {
    font-size: 0.85rem;
    color: #888;
    margin: 0;
}

/* Toast container adjustments */
.login-hero .toast-container {
    z-index: 9999;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .login-container {
        flex-direction: column;
        max-width: 500px;
    }

    .login-features {
        display: none;
    }

    .login-card-wrapper {
        flex: 1;
        padding: 20px;
    }

    .login-card {
        padding: 40px 30px;
    }
}

@media (max-width: 576px) {
    .login-hero {
        padding: 20px;
    }

    .login-container {
        margin: 10px;
    }

    .login-card {
        padding: 30px 20px;
        border-radius: 16px;
    }

    .login-card-title {
        font-size: 1.5rem;
    }

    .login-form .form-control {
        padding: 12px 14px;
    }

    .login-submit-btn {
        padding: 14px 20px;
        font-size: 1rem;
    }

    .login-circle-1,
    .login-circle-2 {
        display: none;
    }

    .login-football-icon,
    .login-trophy-icon {
        display: none;
    }
}

/* Animations for page load */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideRight {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.login-features {
    animation: slideRight 0.8s ease-out;
}

.login-card {
    animation: slideUp 0.8s ease-out;
}
