﻿body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: Arial, sans-serif;
    direction: rtl;
}

/* מרכז את הכל אנכית ואופקית */
main {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start; /* במקום center */
    height: 100vh;
    /*padding-top: 8vh;*/ /* רווח מלמעלה - 8% מגובה המסך */
}

/* לוגו */
.logo {
    max-width: 500px;
    height: auto;
    margin-bottom: 25px;
}

/* כרטיס */
.card {
    width: 100%;
    max-width: 500px;
    padding: 30px;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 0 20px rgba(0,0,0,0.2);
    border-radius: 12px;
    margin-top: 20px;
}

/* טופס */
.login-box {
    font-size: 18px;
}

.form-group {
    margin-bottom: 15px;
}

label {
    font-weight: bold;
    font-size: 16px;
}

input[type="text"],
input[type="password"] {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    box-sizing: border-box;
}

.remember-me {
    display: flex;
    align-items: center;
    font-size: 16px;
    margin-top: 10px;
}

button {
    width: 100%;
    padding: 12px;
    font-size: 18px;
    font-weight: bold;
    background-color: #408ec5bd;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    margin-top: 20px;
    transition: background-color 0.3s ease;
}

    button:hover {
        background-color: #0070cc;
    }

/* רספונסיביות */
@media (max-width: 600px) {
    .logo {
        max-width: 250px;
    }

    .card {
        padding: 20px;
    }

    label,
    input,
    button {
        font-size: 14px;
    }
}
