﻿@import url('https://fonts.googleapis.com/css2?family=Vazirmatn&display=swap');
* {
    box-sizing: border-box;
    font-family: 'Vazirmatn', sans-serif;
}
body {
    margin: 0;
   
    background: linear-gradient(to bottom, #e0f7fa, #ffffff);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    direction: rtl;
    padding: 1rem;
}

.container {
    background: white;
    padding: 2rem;
    border-radius: 1.5rem;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
    text-align: center;
}

.logo {
    width: 120px;
    margin-bottom: 1rem;
}

h2 {
    color: #00acc1;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.roles {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    gap: 1rem;
}

.role {
    flex: 1;
    border: 2px solid #ccc;
    border-radius: 10px;
    padding: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.role.selected {
    border-color: #00acc1;
    background-color: #e0f7fa;
}

.role img {
    width: 50px;
    height: 50px;
    margin-bottom: 5px;
}

.greeting {
    margin: 10px 0 15px;
    color: #555;
    font-size: 0.95rem;
}

input[type="text"], input[type="password"] {
    width: 100%;
    padding: 10px;
    margin: 0.5rem 0;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1rem;
}

.forgot {
    text-align: left;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.forgot a {
    color: #00acc1;
    text-decoration: none;
}

.btn {
    background-color: #00bcd4;
    color: white;
    border: none;
    width: 100%;
    padding: 10px;
    font-size: 1rem;
    border-radius: 8px;
    cursor: pointer;
    margin-top: 10px;
}

.btn:hover {
    background-color: #0097a7;
}

.signup {
    margin-top: 1rem;
    font-size: 0.9rem;
}

.signup a {
    color: #00acc1;
    text-decoration: none;
}

/* Lockout page styles */
.lockout-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60vh;
    padding: 20px;
}

.lockout-content {
    text-align: center;
    max-width: 500px;
    padding: 40px;
    background-color: #f8f9fa;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.lockout-content h2 {
    color: #dc3545;
    margin-bottom: 20px;
}

.lockout-content p {
    margin-bottom: 15px;
    color: #6c757d;
    line-height: 1.6;
}

.lockout-actions {
    margin-top: 30px;
}

/* Enhanced button styles for lockout page */
.btn-primary {
    background-color: #007bff;
    color: white;
    border: 1px solid #007bff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 4px;
    display: inline-block;
    transition: background-color 0.3s;
}

.btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
    text-decoration: none;
    color: white;
}

/* ریسپانسیو برای موبایل */
@media (max-width: 500px) {
    .roles {
        flex-direction: column;
    }

    .role {
        width: 100%;
    }
    
    .lockout-content {
        padding: 20px;
        margin: 10px;
    }
}