
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    font-family: 'cairo';
    background: linear-gradient(135deg, #f5f7fa, #e9eef5);
}

.container {
    width: 100%;
    max-width: 430px;
    padding: 35px 30px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.10);

    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo {
    width: min(220px, 70%);
    height: auto;
    margin-bottom: 10px;
}

h2 {
    margin-bottom: 25px;
    color: #222;
    font-size: 25px;
    font-weight: 700;
}

form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.input-group {
    width: 100%;
}

input {
    width: 100%;
    height: 52px;
    padding: 0 16px;

    border: 1px solid #ddd;
    border-radius: 12px;

    outline: none;
    background: #fafafa;

    font-size: 15px;
    direction: rtl;

    transition: 0.25s ease;
}

input::placeholder {
    color: #999;
}

input:focus {
    background: #fff;
    border-color: #FE6704;
    
}

button {
    width: 100%;
    height: 52px;
    margin-top: 5px;

    border: none;
    border-radius: 12px;

    background: #FE6704;
    color: white;

    font-size: 16px;
    font-weight: bold;

    cursor: pointer;

    box-shadow: 0 8px 18px #FE6704;

    transition: 0.25s ease;
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 22px #FE6704;
}

button:active {
    transform: translateY(0);
}

.auth-link {
    margin-top: 20px;
    font-size: 14px;
    color: #777;
}

.auth-link a {
    color: #FE6704;
    text-decoration: none;
    font-weight: bold;
}

/* الموبايل */
@media (max-width: 480px) {

    body {
        padding: 15px;
    }

    .container {
        max-width: 100%;
        padding: 30px 20px;
        border-radius: 16px;
    }

    .logo {
        width: 180px;
    }

    h2 {
        font-size: 22px;
        margin-bottom: 20px;
    }

    form {
        gap: 13px;
    }

    input,
    button {
        height: 50px;
    }
}

/* الشاشات الصغيرة جدًا */
@media (max-height: 650px) {

    .container {
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .logo {
        width: 140px;
    }

    h2 {
        margin-bottom: 15px;
    }

    form {
        gap: 10px;
    }
}