body {
    margin: 0;
    font-family: 'B Nazanin', Arial, sans-serif;
    direction: rtl;
    background-color: #ffffff;
    color: #4a176b;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.container {
    width: 30%;
    background-color: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
}

h1 {
    color: #4a176b;
}

input[type="text"],
input[type="password"],
input[type="number"] {
    width: 90%;
    padding: 10px;
    margin: 10px 0;
    border: 2px solid #4a176b;
    border-radius: 10px;
    outline: none;
    font-size: 16px;
    transition: all 0.3s ease;
}

input[type="text"]:focus,
input[type="password"]:focus,
input[type="number"]:focus {
    border-color: #6d2a93;
    box-shadow: 0 0 8px rgba(106, 34, 121, 0.5);
}

button {
    padding: 10px 20px;
    border: none;
    background-color: #4a176b;
    color: white;
    border-radius: 10px;
    cursor: pointer;
    font-size: 16px;
    margin: 10px 0;
    transition: all 0.3s ease;
    font-family: b nazanin;
}

button:hover {
    background-color: #6d2a93;
    box-shadow: 0 4px 10px rgba(106, 34, 121, 0.5);
}

.links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 10px;
}

.links a {
    text-decoration: none;
    color: #4a176b;
    font-size: 14px;
    font-weight: bold;
    transition: color 0.3s ease;
}

.links a:hover {
    color: #6d2a93;
}

.hidden-section {
    display: none;
}
input {
    font-family: b nazanin;
}


@media (max-width: 768px) {
    .container {
        width: 90%;
        padding: 15px;
    }

    h1 {
        font-size: 20px;
    }

    input[type="text"],
    input[type="password"],
    input[type="number"] {
        width: 100%;
        font-size: 14px;
        padding: 8px;
    }

    button {
        font-size: 14px;
        padding: 8px 16px;
    }

    .links {
        flex-direction: column;
        gap: 10px;
    }

    .links a {
        font-size: 13px;
    }
}
