﻿:root {
    --primary-dark-blue: #0a192f;
    --secondary-teal: #00b4a2;
    --accent-gold: #d4af37;
    --text-light: #ffffff;
    --text-secondary: #e0e0e0;
}

body {
    background-color: var(--primary-dark-blue);
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Tajawal', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-light);
    margin: 0;
    padding: 0;
}

.login-container {
    max-width: 450px;
    width: 100%;
    padding: 30px;
    background-color: rgba(10, 25, 47, 0.8);
    border-radius: 12px;
    box-shadow: 0 0 30px rgba(0, 180, 162, 0.2);
    border: 1px solid rgba(0, 180, 162, 0.2);
    transition: all 0.3s ease;
}

    .login-container:hover {
        border-color: rgba(0, 180, 162, 0.4);
        box-shadow: 0 5px 25px rgba(0, 180, 162, 0.15);
    }

.login-header {
    text-align: center;
    margin-bottom: 30px;
}

.login-logo {
    margin-bottom: 20px;
}

    .login-logo img {
        width: 120px;
        height: auto;
    }

.login-header h2 {
    color: var(--text-light);
    font-weight: 600;
    margin-bottom: 10px;
}

.login-header .arabic-title {
    font-family: 'Tajawal', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 2rem;
    margin-bottom: 5px;
}

.login-header p {
    color: var(--text-secondary);
}

.login-form .form-group {
    margin-bottom: 20px;
}

.login-form label {
    color: var(--text-light);
    font-weight: 500;
    margin-bottom: 8px;
    display: block;
}

.login-form .arabic-label {
    font-family: 'Tajawal', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1rem;
}

.login-form .form-control {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(0, 180, 162, 0.3);
    color: var(--text-light);
    border-radius: 6px;
    padding: 12px 15px;
    transition: all 0.3s ease;
}

    .login-form .form-control:focus {
        background-color: rgba(255, 255, 255, 0.15);
        border-color: var(--secondary-teal);
        box-shadow: 0 0 0 0.2rem rgba(0, 180, 162, 0.25);
    }

    .login-form .form-control::placeholder {
        color: rgba(255, 255, 255, 0.5);
    }

.login-btn {
    background-color: var(--secondary-teal);
    border-color: var(--secondary-teal);
    width: 100%;
    padding: 12px;
    font-size: 16px;
    font-weight: 500;
    border-radius: 6px;
    transition: all 0.3s ease;
}

    .login-btn:hover {
        background-color: var(--accent-gold);
        border-color: var(--accent-gold);
        transform: translateY(-2px);
    }

.checkbox {
    color: var(--text-secondary);
}

    .checkbox input[type="checkbox"] {
        margin-left: 5px;
    }

.text-danger {
    color: #e74c3c;
}

.language-toggle {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: var(--secondary-teal);
    color: var(--text-light);
    border: none;
    border-radius: 6px;
    padding: 8px 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

    .language-toggle:hover {
        background-color: var(--accent-gold);
    }

/* Animation */
.fade-in {
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* WhatsApp Floating Button - Updated to match project theme */
.whatsapp-float {
    position: fixed;
    left: 20px;
    bottom: 20px;
    background: linear-gradient(135deg, var(--secondary-teal) 0%, #008a7a 100%);
    color: white;
    border-radius: 50%;
    text-align: center;
    font-size: 24px;
    box-shadow: 0 4px 15px rgba(0, 180, 162, 0.3);
    z-index: 1000;
    transition: all 0.3s ease;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

    .whatsapp-float:hover {
        background: linear-gradient(135deg, var(--accent-gold) 0%, #b8941f 100%);
        transform: scale(1.1);
        color: white;
        text-decoration: none;
        box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
        border-color: rgba(255, 255, 255, 0.2);
    }

    .whatsapp-float i {
        margin: 0;
        line-height: 1;
        display: flex;
        align-items: center;
        justify-content: center;
    }

/* Linktr.ee Button - Updated to match project theme */
.linktr-button {
    background: linear-gradient(135deg, var(--secondary-teal) 0%, #008a7a 100%);
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-block;
    margin-top: 1rem;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 180, 162, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

    .linktr-button:hover {
        background: linear-gradient(135deg, var(--accent-gold) 0%, #b8941f 100%);
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
        color: white;
        text-decoration: none;
        border-color: rgba(255, 255, 255, 0.2);
    }

    .linktr-button i {
        margin-right: 0.5rem;
    }

/* Mobile responsiveness for floating elements */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 20px;
        left: 15px;
        bottom: 15px;
        border-width: 1px;
    }

    .linktr-button {
        font-size: 0.8rem;
        padding: 0.6rem 1.2rem;
        border-radius: 20px;
    }
    
    .login-container {
        margin: 15px;
        padding: 20px;
    }
}

/* RTL Support for buttons */
[dir="ltr"] .whatsapp-float {
    left: auto;
    right: 20px;
}

[dir="ltr"] .linktr-button i {
    margin-right: 0;
    margin-left: 0.5rem;
}

@media (max-width: 768px) {
    [dir="ltr"] .whatsapp-float {
        right: 15px;
    }
}