@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@400;500;700&display=swap');
@font-face {
font-family: 'Vazirmatn';
font-display: swap;
src: url(https://fonts.gstatic.com/s/vazirmatn/v16/Dxxo8j6PP2D_kU2muijlGMWWMmk.woff2) format('woff2');
}
body {
    font-family: "Vazirmatn";
    background-color: #f3f5f8;
    margin: 0;
    color: #2c3e50;
}

header {
    background-color: #ffffff;
    text-align: center;
    padding: 25px 20px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
    border-bottom: 4px solid #1a73e8;
}

header h1 {
    margin: 0;
    font-size: 26px;
    font-weight: 700;
    color: #1a73e8;
}

header p {
    margin: 6px 0 0;
    font-size: 15px;
    color: #555;
}

.container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: calc(100vh - 140px);
    padding: 20px;
}

.login-card {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
    padding: 35px 40px;
    width: 100%;
    max-width: 420px;
    text-align: center;
    transition: all 0.3s ease;
}
.captcha{
    display: flex;
    justify-content: center;
    align-items: center;
}
.captcha img{
    width:40%; margin-right:10px; margin-bottom:10px; border-radius: 20px;
    box-shadow: #3d8bff 0px 0px 10px;
    border:#155cc4 solid 1px;
}
.captcha input{
    width:60%;
}
h2 {
    color: #1a73e8;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 25px;
}

input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccd4dd;
    border-radius: 10px;
    font-size: 15px;
    background-color: #f9fafc;
    margin-bottom: 15px;
    transition: all 0.3s;
}

input:focus {
    border-color: #1a73e8;
    box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.15);
    outline: none;
    background-color: #fff;
}

.btn {
    background-color: #1a73e8;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    transition: background 0.3s, transform 0.2s;
    width: 100%;
    margin-top: 5px;
}

.btn:hover {
    background-color: #155cc4;
    transform: scale(1.02);
}

.forgot {
    display: block;
    margin-top: 15px;
    font-size: 14px;
    color: #1a73e8;
    text-decoration: none;
    transition: color 0.2s;
}

.forgot:hover {
    color: #155cc4;
}

footer {
    text-align: center;
    color: #777;
    margin: 20px 0 10px;
    font-size: 14px;
}

footer span {
    color: #1a73e8;
    font-weight: 500;
}

/* ===== نوتیفیکیشن بالا وسط ===== */
.custom-alert {
    position: fixed;
    top: 25px;
    left: 50%;
    transform: translate(-50%, -15px);
    padding: 12px 24px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 500;
    color: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    opacity: 0;
    transition: all 0.4s ease;
    z-index: 9999;
    text-align: center;
    min-width: 240px;
}

.custom-alert.show {
    opacity: 1;
    transform: translate(-50%, 0);
}

.alert-success { background-color: #22c55e; }
.alert-error { background-color: #ef4444; }
.alert-warning { background-color: #f59e0b; }
.alert-info { background-color: #1a73e8; }