@font-face {
    font-family: 'iranyekan';
    font-style: normal;
    font-weight: bold;
    src: url('../font/fonts/woff/iranyekanwebboldfanum.woff') format('woff');
}
@font-face {
    font-family: 'iranyekan';
    font-style: normal;
    font-weight: 300;
    src: url('../font/fonts/woff/iranyekanweblightfanum.woff') format('woff');
}
@font-face {
    font-family: 'iranyekan';
    font-style: normal;
    font-weight: normal;
    src: url('../font/fonts/woff/iranyekanwebregularfanum.woff') format('woff');
}
:root {
    --primary-color: #0d3c61;
    --secondary-color: #00a896;
    --background-color: #f4f7f6;
    --sidebar-bg: #ffffff;
    --text-color: #343a40;
    --heading-color: #212529;
    --white-color: #ffffff;
    --light-gray: #e9ecef;
    --border-color: #dee2e6;
    --error-color: #dc3545;
    --success-color: #28a745;
    --border-radius: 8px;
    --box-shadow: 0 4px 15px rgba(0, 0, 0, 0.07);
}
body {
    font-family: 'iranyekan';
    background-color: var(--background-color);
    color: var(--text-color);
    margin: 0;
    padding: 0;
    line-height: 1.6;
}
.auth-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}
.auth-container {
    width: 100%;
    max-width: 400px;
    background-color: var(--white-color);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
}
.auth-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px;
    text-decoration: none;
    color: var(--heading-color);
}
.auth-logo img {
    width: 60px;
    margin-bottom: 10px;
}
.auth-form .form-intro {
    font-size: 0.95rem;
    margin-bottom: 25px;
    line-height: 1.7;
    color: #6c757d;
}
.form-group {
    margin-bottom: 20px;
    text-align: right;
}
.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    font-size: 0.9rem;
}
.form-group input {
    width: -webkit-fill-available;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-family: 'iranyekan';
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(13, 60, 97, 0.1);
}
.btn {
    width: 100%;
    padding: 14px;
    background-color: var(--primary-color);
    color: var(--white-color);
    border: none;
    border-radius: var(--border-radius);
    font-family: 'iranyekan';
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.btn:hover {
    background-color: #0a2e4a;
}
.notification {
    padding: 12px;
    margin-bottom: 20px;
    border-radius: var(--border-radius);
    border: 1px solid transparent;
}
.notification.error {
    background-color: #f8d7da;
    border-color: #f5c6cb;
    color: #721c24;
}
.notification.success {
    background-color: #d4edda;
    border-color: #c3e6cb;
    color: #155724;
}
.resend-timer {
    margin-top: 20px;
    font-size: 0.9rem;
    color: #6c757d;
}
.resend-timer .hidden {
    display: none;
}
.resend-timer a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
}
.dashboard-layout {
    display: flex;
}
.sidebar {
    width: 260px;
    background-color: var(--sidebar-bg);
    min-height: 100vh;
    box-shadow: 2px 0 10px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
}
.sidebar-header {
    padding: 20px;
    border-bottom: 1px solid var(--light-gray);
    text-align: center;
}
.sidebar-header h3 {
    margin: 0;
    color: var(--primary-color);
}
.sidebar-nav {
    display: flex;
    flex-direction: column;
    padding: 20px 0;
    flex-grow: 1;
}
.sidebar-nav a {
    padding: 15px 25px;
    text-decoration: none;
    color: var(--text-color);
    display: block;
    transition: background-color 0.2s ease, color 0.2s ease;
    border-right: 4px solid transparent;
}
.sidebar-nav a:hover {
    background-color: #f8f9fa;
}
.sidebar-nav a.active {
    background-color: #e9f0f6;
    color: var(--primary-color);
    border-right: 4px solid var(--primary-color);
    font-weight: bold;
}
.sidebar-nav a.logout-link {
    margin-top: auto;
    color: var(--error-color);
}
.main-content {
    flex-grow: 1;
    padding: 30px;
}
.main-header {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 20px;
    margin-bottom: 30px;
}
.main-header h1 {
    margin: 0;
    font-size: 1.8rem;
}
.content-area {
    background-color: var(--white-color);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}
@media (max-width: 768px) {
    .dashboard-layout {
        flex-direction: column;
    }
    .sidebar {
        width: 100%;
        min-height: auto;
        flex-direction: row;
        align-items: center;
    }
    .sidebar-header {
        border-bottom: none;
        border-left: 1px solid var(--light-gray);
    }
    .sidebar-nav {
        flex-direction: row;
        overflow-x: auto;
        padding: 0;
    }
    .sidebar-nav a {
        border-right: none;
        border-bottom: 4px solid transparent;
        padding: 15px 20px;
        white-space: nowrap;
    }
    .sidebar-nav a.active {
        border-bottom: 4px solid var(--primary-color);
    }
}
