﻿@font-face {
    font-family: "IRANSansX Medium";
    src: url("https://db.onlinewebfonts.com/t/30d96e26d791255c14298567c0abc459.eot");
    src: url("https://db.onlinewebfonts.com/t/30d96e26d791255c14298567c0abc459.eot?#iefix")format("embedded-opentype"), url("https://db.onlinewebfonts.com/t/30d96e26d791255c14298567c0abc459.woff2")format("woff2"), url("https://db.onlinewebfonts.com/t/30d96e26d791255c14298567c0abc459.woff")format("woff"), url("https://db.onlinewebfonts.com/t/30d96e26d791255c14298567c0abc459.ttf")format("truetype"), url("https://db.onlinewebfonts.com/t/30d96e26d791255c14298567c0abc459.svg#IRANSansX Medium")format("svg");
}
* {
    box-sizing: border-box;
    font-family: 'IRANSansX Medium';
}

body {
    margin: 0;
}

/* layout */
.page {
    display: flex;
    height: 100vh;
}

/* left side */
.left {
    flex: 1;
    background: #010A13;
    display: flex;
    justify-content: center;
    align-items: center;
}
/* right side */
.right {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #fff;
}

.card {
    width: 100%;
    max-width: 460px;
    padding: 10px 30px 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,.1);
    border-radius: 10px;
}

    .cardtitle {
        font-size: 20px;
        font-weight: 500;
        text-align: right;
        margin-bottom: 30px;
    }

    .card label {
        font-size:14px;
        color:#454545;
        display: block;
        margin-bottom: 8px;
    }

    .card input {
        width: 100%;
        padding: 12px;
        margin-bottom: 20px;
        border-radius: 6px;
        border: 1px solid #ccc;
    }

    .card button {
        width: 100%;
        padding: 12px;
        background: #1da1f2;
        border: none;
        color: white;
        border-radius: 6px;
        cursor: pointer;
    }
        .card button:hover {
            background: #1990d9;
        }
input::placeholder {
    font-size:14px;
}
.footer {
    margin-top: 20px;
    text-align: right;
    font-size: 14px;
}

    .footer a {
        color: #1da1f2;
        text-decoration: none;
    }

.account-type {
    display: flex;
    width:100%;
    gap:10px;
    margin-bottom: 20px;
}

.account-btn {
    flex: 1;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    background-color: #f5f5f5;
    cursor: pointer;
}

    .account-btn.active {
        background-color: #1990d9;
        color: #fff;
        border-color: #1da1f2;
    }
    .account-btn:hover {
        background-color: #1990d9;
        color: #fff;
        border-color: #1da1f2;
    }
    .account-btn:first-child {
        margin-left: 0;
    }

.error-message {
    color: #d32f2f;
    margin-bottom: 15px;
    text-align: center;
}

/* back link */
.back-wrapper {
    margin-top: 20px;
}

.back-btn {
    background: none;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #666;
    font-size: 14px;
    cursor: pointer;
    margin-right: 0;
    text-decoration: none;
}

    .back-btn:hover {
        color: #373737;
    }

        .back-btn:hover svg path {
            fill: #373737;
        }