* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: vazirmatn;
    direction: rtl;
}

html,
body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* فرم وسط قرار می‌گیرد */
    align-items: center;
    background: linear-gradient(to right, #a1bcff, #eee);
}

/* --- فرم وسط صفحه --- */
.container {
    background: #fff;
    width: 900px;
    height: 600px;
    border-radius: 40px;
    display: flex;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    margin: 3rem;
}

/* بقیه استایل‌ها مثل قبل */
.toggle-panel {
    width: 45%;
    background: linear-gradient(to right, #5c6bc0, #512da8);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px;
    text-align: center;
    border-top-left-radius: 150px;
    border-bottom-left-radius: 150px;
}

.form-container {
    width: 55%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 5rem;
}

.copyright-area {
    background-color: #012b6b;
    text-align: center;
    padding: 20px 0;
}

.copyright-area p {
    color: #fff;
}

.form-container {
    width: 55%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.form-container img {
    margin: 50px auto;
    display: flex;
    width: 150px;
    align-items: center;
    text-align: center;
}

form {

    width: 80%;
    display: flex;
    flex-direction: column;
}

input {
    background: #eee;
    border: none;
    padding: 12px;
    margin: 8px 0;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 200;
}

button {
    background: linear-gradient(to right, #512da8, #5c6bc0);

    color: #fff;
    border: none;
    font-size: 1rem;
    padding: 12px;
    border-radius: 8px;
    margin-top: 15px;
    cursor: pointer;
}

.toggle-panel img {
    display: flex;
    width: 250px;
    border-radius: 16px;
    transition: all .5s ease;
}

.toggle-panel img:hover {
    transform: translatey(-10px);
    cursor: pointer;
}

.hidden {
    background: transparent;
    border: 1px solid #fff;
}

footer {
    width: 100%;
    margin-top: auto;
    /* باعث چسبیدن فوتر به پایین می‌شود */
    color: #fff;
}

form h3 {
    display: flex;
    text-align: center;
    font: weight 70px;
    font-size: 2.4rem;
    margin: 25px;
}

.toggle-panel h1 {
    font-weight: 900;
    font-size: 2.4rem;
    text-shadow: 10px 10px 10px rgba(0, 0, 0, .3);
}

@media (max-width: 600px) {
    .toggle-panel img {
        display: none;
    }

    .form-container img {
        width: 190px;
    }
}