body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    font-family: 'vazir', sans-serif;
    direction: rtl;
    text-align: right;
    background-color: #f8f9fa;
    color: #212529;
}

.header {
    background-color: #232e6a;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.header h1 {
    margin: 0;
    flex-grow: 1;
    text-align: center;
}

.header .logo {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 100px;
    height: auto;
}

.main {
    flex-grow: 1;
    padding: 1em;
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer {
    background-color: #232e6a;
    padding: 1em 0;
    text-align: center;
}

form label {
    display: block;
    margin: 0.5em 0 0.2em;
}

form input, form textarea {
    width: 100%;
    padding: 0.5em;
    margin-bottom: 1em;
}

form button {
    padding: 0.5em 1em;
    border: none;
    cursor: pointer;
}

form button:hover {
    background: #0056b3;
}
