﻿@font-face {
    font-family: Vazirmatn;
    font-style: normal;
    font-weight: bold;
    src: url('../font/woff2/Vazirmatn-FD-Bold.woff2') format('woff2');
}

@font-face {
    font-family: Vazirmatn;
    font-style: normal;
    font-weight: normal;
    src: url('../font/woff2/Vazirmatn-FD-Regular.woff2') format('woff2');
}

html {
    font-family: Vazirmatn !important;
    font-size: 16px;
    font-weight: 200;
}

form, button, label, table, input, select, textarea {
    font-size: 16px !important;
    font-family: Vazirmatn !important;
    font-weight: 500;
}

.form-control, .btn {
    font-size: 16px;
    font-family: Vazirmatn !important;
    font-weight: 200;
}

body {
    margin-bottom: 60px;
    font-family: Vazirmatn !important;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

html {
    position: relative;
    min-height: 100%;
    direction: rtl;    
}

:root {
    --bg: #0f0f1a;
    --card: #1a1a2e;
    --accent: #00d4ff;
    --text: #e0e0ff;
    --text-light: #a0a0cc;
    --error: #ff6b6b;
    --success: #51cf66;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Vazirmatn !important;
    background: linear-gradient(135deg, #0f0f1a 0%, #16213e 100%);
    color: var(--text);
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

.login-container {
    background: var(--card);
    padding: 50px 40px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
    width: 100%;
    max-width: 420px;
    border: 1px solid rgba(0, 212, 255, 0.2);
    position: relative;
    z-index: 10;
    backdrop-filter: blur(10px);    
}

h1 {
    text-align: center;
    margin-bottom: 10px;
    font-weight: 700;
    font-size: 28px;
    background: linear-gradient(90deg, #00d4ff, #a0a0ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

p.subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 40px;
    font-size: 14px;
}

.input-group {
    margin-bottom: 20px;
    position: relative;
}

input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid rgba(0, 212, 255, 0.3);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    color: white;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
    direction: ltr;
}


    input:focus {
        border-color: var(--accent);
        box-shadow: 0 0 0 4px rgba(0, 212, 255, 0.2);
    }

label {
    display: block;    
    margin-bottom: 10px;
}

button {
    width: 100%;
    padding: 14px;
    margin-top: 10px;
    background: linear-gradient(90deg, #00d4ff, #0077ff);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.4);
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.6);
}

button:active {
    transform: translateY(0);
}

.message {
    margin-top: 20px;
    text-align: center;
    font-size: 14px;
    border-radius: 8px;    
    color: darkorange;
}

.error {
    background: rgba(255, 107, 107, 0.2);
    color: var(--error);
}

.success {
    background: rgba(81, 207, 102, 0.2);
    color: var(--success);
}
