﻿/*
 * تنسيقات عامة
 */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;700&display=swap');

body {
    font-family: 'Cairo', sans-serif;
    /* خلفية سماوية جديدة */
    /*  background: linear-gradient(to bottom, #87ceeb, #5dade2);*/
    background-image: url('../../tools/images/background/gee_ru_389776.jpg');
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    direction: rtl; /* اتجاه الكتابة من اليمين لليسار */
}

.login-container {
    background-image: url('../../tools/images/background/artdesign_99798_jpg.jpg');    
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgb(0, 0, 0);
    width: 90%;
    max-width: 400px;
    text-align: center;
}

.logo {
    font-size: 6rem;
    color:snow;
    margin-bottom: 1.5rem;
    animation: bounce 1s infinite alternate;   
}

h1 {
    color: #333;
    margin-bottom: 2rem;
    font-weight: 700;
}

.input-group {
    margin-bottom: 1.5rem;
    text-align: right;
}

.input-group label {
    display: block;
    margin-bottom: 0.5rem;
    color:black;
    font-weight: 800;
}

.input-group input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-sizing: border-box;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.input-group input:focus {
    outline: none;
    border-color: #4CAF50;
    box-shadow: 0 0 8px rgba(76, 175, 80, 0.2);
}

.login-button {
    width: 100%;
    background-color: #4CAF50;
    color: white;
    padding: 15px;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}

.login-button:hover {
    background-color: #45a049;
    transform: translateY(-3px);
    box-shadow: 8px 15px rgba(0, 0, 0, 0.1);
}

/*
 * التنسيق المتجاوب (Responsive)
 */
@media (max-width: 480px) {
    .login-container {
        padding: 1.5rem;
        margin: 1rem;
    }
    h1 {
        font-size: 1.5rem;
    }
    .logo {
        font-size: 3rem;
    }
    .input-group input {
        padding: 10px 12px;
    }
    .login-button {
        padding: 12px;
    }
}

/*
 * تأثير الاهتزاز للشعار
 */
@keyframes bounce {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-10px);
    }
}
