/* فونت وزیر */
@font-face {
    font-family: 'Vazir';
    src: url('../fonts/Vazirmatn.eot');
    src: url('../fonts/Vazirmatn.eot?#iefix') format('embedded-opentype'),
         url('../fonts/Vazirmatn.woff2') format('woff2'),
         url('../fonts/Vazirmatn.woff') format('woff'),
         url('../fonts/Vazirmatn.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Vazir';
    src: url('../fonts/Vazirmatn-Bold.eot');
    src: url('../fonts/Vazirmatn-Bold.eot?#iefix') format('embedded-opentype'),
         url('../fonts/Vazirmatn-Bold.woff2') format('woff2'),
         url('../fonts/Vazirmatn-Bold.woff') format('woff'),
         url('../fonts/Vazirmatn-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Vazir';
    src: url('../fonts/Vazirmatn-Medium.eot');
    src: url('../fonts/Vazirmatn-Medium.eot?#iefix') format('embedded-opentype'),
         url('../fonts/Vazirmatn-Medium.woff2') format('woff2'),
         url('../fonts/Vazirmatn-Medium.woff') format('woff'),
         url('../fonts/Vazirmatn-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Vazir';
    src: url('../fonts/Vazirmatn-Light.eot');
    src: url('../fonts/Vazirmatn-Light.eot?#iefix') format('embedded-opentype'),
         url('../fonts/Vazirmatn-Light.woff2') format('woff2'),
         url('../fonts/Vazirmatn-Light.woff') format('woff'),
         url('../fonts/Vazirmatn-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Vazir';
    src: url('../fonts/Vazirmatn-Thin.eot');
    src: url('../fonts/Vazirmatn-Thin.eot?#iefix') format('embedded-opentype'),
         url('../fonts/Vazirmatn-Thin.woff2') format('woff2'),
         url('../fonts/Vazirmatn-Thin.woff') format('woff'),
         url('../fonts/Vazirmatn-Thin.ttf') format('truetype');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

/* Reset and Base Styles */
* {
	font-family: 'Vazir', sans-serif;
}
/* Admin Main Styles */
.admin-main {
    margin-right: 260px;
    padding: 20px;
    min-height: 100vh;
    background: #f5f7fa;
}

@media (max-width: 992px) {
    .admin-main {
        margin-right: 0;
    }
}

.admin-header {
    background: white;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.admin-header h1 {
    color: #2C3E50;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.breadcrumb {
    color: #666;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: #27AE60;
    text-decoration: none;
}

.breadcrumb span {
    color: #2C3E50;
}

/* Admin Content */
.admin-content {
    margin-bottom: 30px;
}

/* Cards */
.card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
    overflow: hidden;
}

.card-header {
    padding: 20px;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-header h3 {
    margin: 0;
    color: #2C3E50;
}

.card-body {
    padding: 20px;
}

/* Buttons */
.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-family: 'Vazir';
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-primary {
    background: #27AE60;
    color: white;
}

.btn-primary:hover {
    background: #219653;
}

.btn-secondary {
    background: #95A5A6;
    color: white;
}

.btn-secondary:hover {
    background: #7f8c8d;
}

/* Forms */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: #2C3E50;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Vazir';
    transition: border 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: #27AE60;
}

/* Grid System */
.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -10px;
}

.col-md-4,
.col-md-8 {
    padding: 0 10px;
    box-sizing: border-box;
}

.col-md-4 {
    flex: 0 0 33.333%;
    max-width: 33.333%;
}

.col-md-8 {
    flex: 0 0 66.666%;
    max-width: 66.666%;
}

/* Profile Image Large */
.profile-image-large {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #27AE60, #2ECC71);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    border: 5px solid #e9ecef;
}

.profile-image-large i {
    font-size: 3rem;
    color: white;
}

.text-center {
    text-align: center;
}

.text-muted {
    color: #95A5A6;
}

/* Responsive Grid */
@media (max-width: 768px) {
    .col-md-4,
    .col-md-8 {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 20px;
    }
}