@import url('https://fonts.googleapis.com/css2?family=Heebo:wght@400;700&display=swap');

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Heebo', sans-serif;
    background: linear-gradient(135deg, #dff6ff, #e4e9f7);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    direction: rtl;
    background-color: #eaf3fc;
    background-image: url("data:image/svg+xml,%3Csvg width='36' height='36' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='24' height='24' rx='4' fill='%23d0e3ff'/%3E%3Cpath d='M7 7H17M7 10H10M14 10H17M7 13H10M14 13H17M7 16H17' stroke='%234298db' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 48px 48px;
}

.container {
    background-color: #fff;
    padding: 25px 20px;
    border-radius: 18px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    width: 90%;
    max-width: 400px;
}

h1 {
    text-align: center;
    font-size: 22px;
    margin-bottom: 20px;
    color: #34495e;
}

h1 i {
    margin-left: 10px;
    color: #3498db;
}


label {
    font-weight: 600;
    margin-bottom: 6px;
    display: block;
    color: #2c3e50;
}

input {
    width: 100%;
    padding: 12px;
    margin-bottom: 16px;
    border: 1px solid #ccc;
    border-radius: 10px;
    font-size: 16px;
}

input:focus {
    border-color: #3498db;
    outline: none;
    box-shadow: 0 0 5px rgba(52, 152, 219, 0.2);
}

button {
    width: 100%;
    padding: 14px;
    background-color: #3498db;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #2980b9;
}

#results {
    margin-top: 20px;
    background: #f1f8ff;
    padding: 15px;
    border-radius: 10px;
    font-size: 16px;
    color: #2c3e50;
}

#results h2 {
    font-size: 18px;
    margin-top: 0;
    color: #2980b9;
    text-align: center;
}

/* 🔁 מסכים רחבים יותר */
@media (min-width: 768px) {
    .container {
        padding: 35px 30px;
        max-width: 600px;
    }

    h1 {
        font-size: 26px;
    }

    button {
        font-size: 18px;
    }

    #results {
        font-size: 18px;
    }
}