﻿:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --secondary: #10b981;
    --accent: #f59e0b;
    --dark: #1f2937;
    --darker: #111827;
    --light: #f9fafb;
    --gray: #e5e7eb;
    --text: #374151;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Tajawal', sans-serif;
}

body {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.03) 0%, rgba(16, 185, 129, 0.03) 100%);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: auto;
    padding: 20px;
}

    body:before {
        content: '';
        position: fixed;
        width: 500px;
        height: 500px;
        border-radius: 50%;
        background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(16, 185, 129, 0.1) 100%);
        top: -250px;
        left: -250px;
        z-index: 0;
    }

    body:after {
        content: '';
        position: fixed;
        width: 400px;
        height: 400px;
        border-radius: 50%;
        background: linear-gradient(135deg, rgba(245, 158, 11, 0.1) 0%, rgba(99, 102, 241, 0.1) 100%);
        bottom: -200px;
        right: -200px;
        z-index: 0;
    }

.login-container {
    width: 100%;
    max-width: 400px;
    z-index: 10;
    margin: 40px 0;
}

.login-logo {
    text-align: center;
    margin-bottom:0px;
}

    .login-logo a {
        font-size: 2.5rem;
        font-weight: 800;
        background: linear-gradient(135deg, var(--primary), var(--secondary));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        text-decoration: none;
        display: inline-block;
    }

.card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    overflow: hidden;
}

.card-body {
    padding: 30px;
}

.login-card-msg {
    text-align: center;
    margin-bottom: 25px;
    font-size: 1.2rem;
    color: var(--darker);
    font-weight: 500;
}

.input-group {
    margin-bottom: 20px;
    position: relative;
}

.form-control {
    width: 100%;
    padding: 15px 50px 15px 15px;
    border: 1px solid var(--gray);
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--light);
    color: var(--dark);
}

    .form-control:focus {
        outline: none;
        border-color: var(--primary);
        box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
    }

.input-group-append {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 15px;
    z-index: 10;
}

.input-group-text {
    background: transparent;
    border: none;
    color: var(--primary);
    padding: 0;
}

.captcha-container {
    background: var(--light);
    padding: 15px;
    border-radius: 12px;
    margin-bottom: 20px;
    text-align: center;
    border: 1px solid var(--gray);
}

.btn-primary {
    display: block;
    width: 100%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    padding: 15px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

    .btn-primary:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 20px rgba(99, 102, 241, 0.4);
    }

.row {
    margin: 0 -5px;
}

.col-12 {
    padding: 0 5px;
}

.login-links {
    text-align: center;
    margin-top: 20px;
}

    .login-links a {
        color: var(--primary);
        text-decoration: none;
        transition: all 0.3s ease;
        display: block;
        margin-bottom: 10px;
    }

        .login-links a:hover {
            color: var(--primary-dark);
        }

@media (max-width: 768px) {
    body {
        padding: 15px;
    }

    .login-container {
        margin: 0px !important;
    }

    .card-body {
        padding: 20px;
    }

    .login-logo a {
        font-size: 2rem;
    }
}

