﻿:root {
    --bg: #f6f8fa;
    --card: #ffffff;
    --accent: #429c81;
    --muted: #6b7280;
    --radius: 12px;
    --white: #fff;
}

* {
    box-sizing: border-box
}

body {
    margin: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent);
    font-family: sans-serif;
    color: #111827;
    padding: 16px;
}

.card {
    background: var(--card);
    border-radius: var(--radius);
    padding: 28px 24px;
    box-shadow: 0 6px 30px rgba(0,0,0,0.08);
    width: 100%;
    max-width: 380px;
    text-align: center;
}

.logowhite {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 28px;
    margin: 0 auto 16px;
    box-shadow: 0 4px 14px rgba(11,102,255,0.3);
}




h1 {
    margin: 0 0 16px;
    font-size: 20px
}

form {
    display: flex;
    flex-direction: column;
    gap: 14px;
    text-align: right
}

.field {
    display: flex;
    flex-direction: column;
    gap: 6px
}

label {
    font-size: 14px
}

input {
    padding: 12px 14px;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    font-size: 15px;
    outline: none;
}

    input:focus {
        border-color: var(--accent);
        box-shadow: 0 0 0 3px rgba(11,102,255,0.15);
    }

button {
    margin-top: 8px;
    padding: 12px;
    border: none;
    border-radius: 8px;
    background: var(--accent);
    color: #fff;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
}

    button:active {
        transform: translateY(1px)
    }

.links {
    margin-top: 12px;
    display: flex;
    justify-content: space-between;
    font-size: 13px;
}

    .links a {
        color: var(--accent);
        text-decoration: none
    }


.btn-bg {
    margin: 40px 0px 40px 0px;
}

.ltr{
    direction:ltr !important;
}



.alert {
    padding: 12px 16px !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    margin-bottom: 16px !important;
    margin-top: 10px !important;
    text-align: center !important;
    font-weight: 500 !important;
}

    .alert.error {
        background: #f87171 !important; /* قرمز روشن */
        color: #7f1d1d !important; /* قرمز تیره متن */
        box-shadow: 0 4px 12px rgba(248, 113, 113, 0.3) !important;
    }

.star::after {
    content: " *";
    color: red;
    font-weight: bold;
    margin-right: 2px;
}
