/* فونت فارسی */
@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@300;400;500;600;700&display=swap');

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Vazirmatn', 'Tahoma', 'Arial', sans-serif;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    color: #333;
    line-height: 1.6;
    direction: rtl;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}

/* Header Styles */
.header {
    background: linear-gradient(135deg, #6c5ce7 0%, #a29bfe 100%);
    color: white;
    padding: 1.5rem 0;
    box-shadow: 0 4px 20px rgba(108, 92, 231, 0.3);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    width: 100%;
    flex-shrink: 0;
    z-index: 1000;
}

.header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.header .container {
    max-width: none;
    margin: 0;
    padding: 0 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2;
    width: 100%;
}

.header h1 {
    font-size: 2rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header h1 i {
    font-size: 2.2rem;
    color: rgba(255, 255, 255, 0.9);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

.header .user-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.15);
    padding: 0.75rem 1.5rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.header .user-info span {
    font-size: 1rem;
    font-weight: 600;
}

.header .logout-btn {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.header .logout-btn:hover {
    background: linear-gradient(135deg, #ee5a24, #ff6b6b);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4);
    color: white;
    text-decoration: none;
}

.header .header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header .notification-btn {
    background: none;
    color: #00b894;
    border: none;
    padding: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: normal;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 1.4rem;
}

.header .notification-btn i {
    font-size: 1.6rem;
}

.header .notification-btn:hover {
    color: #00cec9;
    text-decoration: none;
}

/* Navigation Styles */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(108, 92, 231, 0.1);
    width: 100%;
    flex-shrink: 0;
    z-index: 999;
}

.navbar .container {
    max-width: none;
    margin: 0;
    padding: 0 25px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar ul {
    list-style: none;
    display: flex;
    gap: 0;
}

.navbar li {
    position: relative;
}

.navbar a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    color: #555;
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 10px;
    margin: 0.5rem;
    font-weight: 600;
    position: relative;
    overflow: hidden;
}

.navbar a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(108, 92, 231, 0.1), transparent);
    transition: left 0.5s;
}

.navbar a:hover::before {
    left: 100%;
}

.navbar a:hover,
.navbar a.active {
    background: linear-gradient(135deg, #6c5ce7, #a29bfe);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(108, 92, 231, 0.3);
}

.navbar a i {
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.navbar a:hover i {
    transform: scale(1.1);
}

/* تاریخ و ساعت شمسی در navigation bar */
#persianDateTime {
    font-size: 16px;
    color: #6c5ce7;
    font-weight: bold;
    margin-left: 20px;
    white-space: nowrap;
    direction: ltr;
    text-align: left;
}

/* Container */
.container {
    max-width: none;
    margin: 0;
    padding: 0 40px;
    width: 100%;
}

/* Main Content */
main.container {
    flex: 1;
    padding: 20px 40px;
    margin: 0;
    max-width: none;
    width: 100%;
}

/* Footer */
footer {
    background: linear-gradient(135deg, #2d3436 0%, #636e72 100%);
    color: #ddd;
    padding: 3rem 0 1rem;
    margin-top: auto;
    position: relative;
    overflow: hidden;
    width: 100%;
    flex-shrink: 0;
    z-index: 100;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(135deg, #6c5ce7, #a29bfe);
}

footer .container {
    max-width: none;
    margin: 0;
    padding: 0 25px;
    width: 100%;
}

footer .footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

footer .footer-brand {
    display: flex;
    align-items: center;
    font-size: 1.2rem;
    font-weight: 700;
}

footer .footer-brand i {
    color: #6c5ce7;
    font-size: 1.5rem;
    margin-left: 0.5rem;
}


footer hr {
    border-color: #636e72;
    margin: 2rem 0 1rem;
}

footer .footer-copyright {
    text-align: center;
    color: #b2bec3;
    font-size: 0.9rem;
}

@keyframes heartbeat {
    0%, 50%, 100% {
        transform: scale(1);
    }
    25%, 75% {
        transform: scale(1.1);
    }
}

/* اطمینان از نمایش درست layout */
* {
    box-sizing: border-box;
}

html, body {
    margin: 0 !important;
    padding: 0 !important;
}

body {
    display: flex !important;
    flex-direction: column !important;
    min-height: 100vh !important;
}

.header, .navbar, footer {
    flex-shrink: 0 !important;
    width: 100% !important;
}

main.container {
    flex: 1 !important;
}

/* Cards */
.card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(108, 92, 231, 0.1);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.card-header {
    background: linear-gradient(135deg, #6c5ce7 0%, #a29bfe 100%);
    color: white;
    padding: 1.5rem 2rem;
    font-weight: 700;
    font-size: 1.2rem;
    position: relative;
    overflow: hidden;
}

.card-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

.card-body {
    padding: 2rem;
}

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
    color: #2c3e50;
    font-size: 1rem;
}

.form-group label i {
    color: #6c5ce7;
    font-size: 0.9rem;
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #fafbfc;
    font-weight: 500;
}

.form-control:focus {
    border-color: #6c5ce7;
    box-shadow: 0 0 0 0.2rem rgba(108, 92, 231, 0.15);
    background-color: white;
    transform: translateY(-1px);
}


.form-control.is-invalid {
    border-color: #dc3545;
}

.form-control.is-valid {
    border-color: #28a745;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 10px;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    margin: 0.25rem;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, #6c5ce7 0%, #a29bfe 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(108, 92, 231, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #5a4fcf 0%, #9c88fd 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(108, 92, 231, 0.4);
    color: white;
    text-decoration: none;
}

.btn-success {
    background: linear-gradient(135deg, #00b894 0%, #00cec9 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 184, 148, 0.3);
}

.btn-success:hover {
    background: linear-gradient(135deg, #00a085 0%, #00b7b3 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 184, 148, 0.4);
    color: white;
    text-decoration: none;
}

.btn-danger {
    background: linear-gradient(135deg, #e17055 0%, #fdcb6e 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(225, 112, 85, 0.3);
}

.btn-danger:hover {
    background: linear-gradient(135deg, #d63031 0%, #fdcb6e 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(225, 112, 85, 0.4);
    color: white;
    text-decoration: none;
}

.btn-warning {
    background: #ffc107;
    color: #212529;
}

.btn-warning:hover {
    background: #e0a800;
    color: #212529;
    text-decoration: none;
}

.btn-info {
    background: #17a2b8;
    color: white;
}

.btn-info:hover {
    background: #138496;
    color: white;
    text-decoration: none;
}

.btn-sm {
    padding: 5px 10px;
    font-size: 12px;
}

/* Tables */
.table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.table th,
.table td {
    padding: 12px;
    text-align: right;
    border-bottom: 1px solid #dee2e6;
    font-size: 1.05rem;
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    word-wrap: break-word;
    word-break: break-word;
}

.table th {
    background: #f8f9fa;
    font-weight: 600;
    color: #555;
    font-size: 1.1rem;
}

/* General table overflow handling */
.table td a {
    display: inline-block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    word-break: break-all;
}

.table td a:hover {
    white-space: normal;
    word-break: break-word;
    position: relative;
    z-index: 10;
    background: white;
    padding: 2px 4px;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.table td[title]:hover::after {
    content: attr(title);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #333;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    white-space: nowrap;
    z-index: 1000;
    pointer-events: none;
}

/* Hover effect حذف شد */

.table .actions {
    white-space: nowrap;
}

/* Status badges */
.badge {
    display: inline-block;
    padding: 4px 8px;
    font-size: 12px;
    font-weight: 500;
    border-radius: 4px;
    text-transform: uppercase;
}

.badge-success {
    background: #d4edda;
    color: #155724;
}

.badge-warning {
    background: #fff3cd;
    color: #856404;
}

.badge-danger {
    background: #f8d7da;
    color: #721c24;
}

.badge-info {
    background: #d1ecf1;
    color: #0c5460;
}

/* Alerts */
.alert {
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid transparent;
    border-radius: 5px;
}

.alert-success {
    background: #d4edda;
    border-color: #c3e6cb;
    color: #155724;
}

.alert-danger {
    background: #f8d7da;
    border-color: #f5c6cb;
    color: #721c24;
}

.alert-warning {
    background: #fff3cd;
    border-color: #ffeaa7;
    color: #856404;
}

.alert-info {
    background: #d1ecf1;
    border-color: #bee5eb;
    color: #0c5460;
}

.alert-dismissible {
    position: relative;
    padding-right: 50px;
}

.btn-close {
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 18px;
    color: inherit;
    opacity: 0.7;
    cursor: pointer;
    padding: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-close:hover {
    opacity: 1;
}

.btn-close:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(0,0,0,0.1);
}

/* Statistics Cards */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-card .number {
    font-size: 2.5rem;
    font-weight: bold;
    color: #667eea;
    margin-bottom: 10px;
}

.stat-card .label {
    color: #666;
    font-size: 0.9rem;
}

/* Login Page */
.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #6c5ce7 0%, #a29bfe 100%);
    position: relative;
    overflow: hidden;
}

/* Password Input Wrapper */
.password-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.password-input-wrapper .form-control {
    padding-right: 50px;
    border-radius: 10px;
}

.password-toggle-btn {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #6c757d;
    cursor: pointer;
    padding: 5px;
    border-radius: 5px;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
}

.password-toggle-btn:hover {
    color: #6c5ce7;
    background-color: rgba(108, 92, 231, 0.1);
    transform: translateY(-50%) scale(1.1);
}

.password-toggle-btn:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(108, 92, 231, 0.3);
}

.password-toggle-btn i {
    font-size: 16px;
    transition: all 0.3s ease;
}

.password-toggle-btn:hover i {
    transform: scale(1.1);
}

/* انیمیشن خط روی چشم */
.password-toggle-btn i.fa-eye-slash {
    position: relative;
}

.password-toggle-btn i.fa-eye-slash::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 2px;
    background-color: currentColor;
    transform: translate(-50%, -50%) rotate(-45deg);
    animation: eyeSlashAppear 0.3s ease-out;
}

@keyframes eyeSlashAppear {
    0% {
        width: 0;
        opacity: 0;
    }
    100% {
        width: 100%;
        opacity: 1;
    }
}

/* انیمیشن حذف خط از چشم */
.password-toggle-btn i.fa-eye {
    animation: eyeSlashDisappear 0.3s ease-out;
}

@keyframes eyeSlashDisappear {
    0% {
        opacity: 0.5;
    }
    100% {
        opacity: 1;
    }
}

.login-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="1.5" fill="rgba(255,255,255,0.08)"/><circle cx="40" cy="30" r="1" fill="rgba(255,255,255,0.06)"/><circle cx="60" cy="25" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="35" r="1.5" fill="rgba(255,255,255,0.07)"/><circle cx="90" cy="20" r="2.5" fill="rgba(255,255,255,0.09)"/><circle cx="25" cy="50" r="1" fill="rgba(255,255,255,0.05)"/><circle cx="45" cy="55" r="1.5" fill="rgba(255,255,255,0.08)"/><circle cx="65" cy="60" r="1" fill="rgba(255,255,255,0.06)"/><circle cx="85" cy="45" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="95" cy="65" r="1" fill="rgba(255,255,255,0.04)"/><circle cx="15" cy="80" r="2.5" fill="rgba(255,255,255,0.09)"/><circle cx="35" cy="85" r="1" fill="rgba(255,255,255,0.06)"/><circle cx="55" cy="90" r="1.5" fill="rgba(255,255,255,0.08)"/><circle cx="75" cy="80" r="1" fill="rgba(255,255,255,0.05)"/><circle cx="85" cy="95" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="95" cy="75" r="1" fill="rgba(255,255,255,0.04)"/></svg>');
    animation: float 25s ease-in-out infinite reverse;
    opacity: 0.6;
}

.login-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="10" cy="10" r="3" fill="rgba(255,255,255,0.15)"/><circle cx="30" cy="20" r="2" fill="rgba(255,255,255,0.12)"/><circle cx="50" cy="15" r="4" fill="rgba(255,255,255,0.18)"/><circle cx="70" cy="25" r="2.5" fill="rgba(255,255,255,0.14)"/><circle cx="90" cy="10" r="3.5" fill="rgba(255,255,255,0.16)"/><circle cx="15" cy="40" r="2" fill="rgba(255,255,255,0.13)"/><circle cx="35" cy="45" r="3" fill="rgba(255,255,255,0.17)"/><circle cx="55" cy="50" r="2.5" fill="rgba(255,255,255,0.15)"/><circle cx="75" cy="35" r="4" fill="rgba(255,255,255,0.19)"/><circle cx="85" cy="55" r="2" fill="rgba(255,255,255,0.11)"/><circle cx="5" cy="70" r="3.5" fill="rgba(255,255,255,0.16)"/><circle cx="25" cy="75" r="2" fill="rgba(255,255,255,0.14)"/><circle cx="45" cy="80" r="3" fill="rgba(255,255,255,0.18)"/><circle cx="65" cy="70" r="2.5" fill="rgba(255,255,255,0.15)"/><circle cx="85" cy="85" r="4" fill="rgba(255,255,255,0.17)"/><circle cx="95" cy="65" r="2" fill="rgba(255,255,255,0.12)"/></svg>');
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg) scale(1); 
    }
    25% { 
        transform: translateY(-15px) rotate(90deg) scale(1.1); 
    }
    50% { 
        transform: translateY(-30px) rotate(180deg) scale(0.9); 
    }
    75% { 
        transform: translateY(-15px) rotate(270deg) scale(1.05); 
    }
}

.login-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    padding: 3rem;
    width: 100%;
    max-width: 450px;
    position: relative;
    z-index: 2;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.login-card h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #2c3e50;
    font-weight: 700;
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.login-card h2 i {
    color: #6c5ce7;
    animation: bounce 2s infinite;
}

/* Toast Notifications */
#toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    max-width: 400px;
}

.toast-notification {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    margin-bottom: 10px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
    transform: translateX(100%);
    opacity: 0;
    transition: all 0.3s ease;
    position: relative;
    min-width: 300px;
    max-width: 400px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.toast-notification.show {
    transform: translateX(0);
    opacity: 1;
}

.toast-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    margin-left: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.toast-content {
    flex: 1;
    min-width: 0;
}

.toast-message {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    word-wrap: break-word;
}

.toast-close {
    background: none;
    border: none;
    padding: 4px;
    cursor: pointer;
    color: inherit;
    opacity: 0.7;
    transition: opacity 0.2s ease;
    flex-shrink: 0;
    border-radius: 50%;
}

.toast-close:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.2);
}

/* Toast Types */
.toast-success {
    background: linear-gradient(135deg, #00b894, #00cec9);
    color: white;
    border-left: 4px solid #00a085;
}

.toast-error {
    background: linear-gradient(135deg, #e17055, #fdcb6e);
    color: white;
    border-left: 4px solid #d63031;
}

.toast-warning {
    background: linear-gradient(135deg, #fdcb6e, #e17055);
    color: white;
    border-left: 4px solid #e17055;
}

.toast-info {
    background: linear-gradient(135deg, #6c5ce7, #a29bfe);
    color: white;
    border-left: 4px solid #5a4fcf;
}

/* Responsive */
@media (max-width: 768px) {
    #toast-container {
        top: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
    }
    
    .toast-notification {
        min-width: auto;
        max-width: none;
    }
}

/* انیمیشن‌های اضافی */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

.slide-in-right {
    animation: slideInRight 0.6s ease-out;
}

.scale-in {
    animation: scaleIn 0.5s ease-out;
}

.card-hover-effect {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-hover-effect:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.table-hover-animation {
    background: linear-gradient(135deg, #f8f9ff, #ffffff) !important;
    transform: scale(1.01);
    transition: all 0.3s ease;
}

.ripple-effect {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    transform: scale(0);
    animation: rippleAnimation 0.6s linear;
    pointer-events: none;
}

@keyframes rippleAnimation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

.loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    backdrop-filter: blur(5px);
}

.loading-spinner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    color: #6c5ce7;
    font-weight: 600;
}

.loading-spinner i {
    font-size: 2rem;
}

.custom-scrollbar::-webkit-scrollbar {
    width: 8px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #6c5ce7, #a29bfe);
    border-radius: 4px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #5a4fcf, #9c88fd);
}

/* Excel Table Styles */
.excel-table {
    font-size: 1.1rem;
    border-collapse: collapse;
    width: 100%;
    min-width: 4000px;
}

.excel-table th {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    padding: 16px 12px;
    text-align: center;
    font-weight: 600;
    font-size: 1rem;
    white-space: nowrap;
    position: sticky;
    top: 0;
    z-index: 5;
    min-width: 150px;
    max-width: 300px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.excel-table td {
    border: 1px solid #dee2e6;
    padding: 12px 16px;
    vertical-align: middle;
    background: white;
    min-width: 150px;
    max-width: 300px;
    overflow: hidden;
    text-overflow: ellipsis;
    word-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
}

.excel-table .form-control-sm {
    border: 1px solid #e9ecef;
    padding: 8px 10px;
    font-size: 1rem;
    height: auto;
    min-height: 36px;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    word-wrap: break-word;
    word-break: break-word;
}

.excel-table .form-control-sm:focus {
    border: 2px solid #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
    z-index: 10;
    position: relative;
}

.excel-table input,
.excel-table select,
.excel-table textarea {
    z-index: 5;
    position: relative;
    pointer-events: auto;
    background-color: white !important;
}

.excel-table textarea.form-control-sm {
    resize: vertical;
    min-height: 36px;
    font-size: 1rem;
    max-width: 100%;
    overflow: hidden;
    word-wrap: break-word;
    word-break: break-word;
    white-space: pre-wrap;
}

.excel-table input[type="checkbox"] {
    transform: scale(1.2);
    margin: 0;
}

/* Persian Date Picker */
.persian-date-picker {
    position: relative;
    display: inline-block;
    width: 100%;
}

.persian-date-input {
    cursor: pointer;
    background-color: white;
}

.persian-calendar {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 9999;
    padding: 10px;
    min-width: 250px;
    display: none;
}

.persian-calendar.show {
    display: block;
}

/* Persian Date Dropdowns */
.persian-date-dropdowns {
    display: flex;
    gap: 2px;
    align-items: center;
}

.persian-date-dropdowns select {
    border: 1px solid #e9ecef;
    border-radius: 4px;
    padding: 4px 6px;
    font-size: 0.8rem;
    background-color: white;
}

.persian-date-dropdowns select:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

/* Add Target Page - Wider Container */
body.add-target-page .container,
body.add-target-page main.container {
    max-width: 95% !important;
    width: 95% !important;
    margin: 0 auto !important;
}

body.add-target-page .card {
    width: 100% !important;
    max-width: none !important;
    min-height: 80vh !important;
    height: auto !important;
}

body.add-target-page .card-body {
    min-height: 70vh !important;
    padding: 2rem !important;
}

body.add-target-page .table-responsive {
    width: 100% !important;
    overflow-x: auto !important;
}

body.add-target-page .excel-table {
    min-width: 100% !important;
    width: 100% !important;
}

/* Table height for add target page */
body.add-target-page #targetsTable .table-responsive {
    max-height: 60vh !important;
    min-height: 50vh !important;
    height: auto !important;
    overflow-y: auto !important;
    overflow-x: auto !important;
}

body.add-target-page #targetsTable {
    min-height: 55vh !important;
    height: auto !important;
}

/* Custom scrollbar for targets table */
body.add-target-page #targetsTable .table-responsive::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

body.add-target-page #targetsTable .table-responsive::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

body.add-target-page #targetsTable .table-responsive::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
    border: 2px solid #f1f1f1;
}

body.add-target-page #targetsTable .table-responsive::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%);
}

body.add-target-page #targetsTable .table-responsive::-webkit-scrollbar-corner {
    background: #f1f1f1;
}

/* Firefox scrollbar styles */
body.add-target-page #targetsTable .table-responsive {
    scrollbar-width: thin;
    scrollbar-color: #667eea #f1f1f1;
}

/* Additional spacing for add target page */
body.add-target-page .form-group {
    margin-bottom: 2rem !important;
}

body.add-target-page .btn-group {
    margin-top: 2rem !important;
    padding: 1rem 0 !important;
}

/* Smooth scrolling for targets table */
body.add-target-page #targetsTable .table-responsive {
    scroll-behavior: smooth !important;
    border: 2px solid #e0e0e0 !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
}

/* Table container styling */
body.add-target-page #targetsTable {
    border-radius: 12px !important;
    overflow: hidden !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15) !important;
}

/* User Selection Dropdown - Force visibility */
#user_id {
    background-color: white !important;
    color: black !important;
    border: 1px solid #ccc !important;
    font-size: 14px !important;
}

#user_id option {
    background-color: white !important;
    color: black !important;
    padding: 5px !important;
    font-size: 14px !important;
}

select#user_id {
    background-color: white !important;
    color: black !important;
}

select#user_id option {
    background-color: white !important;
    color: black !important;
}

/* Force input fields to be interactive */
.excel-table input:not([readonly]):not([disabled]),
.excel-table select:not([readonly]):not([disabled]),
.excel-table textarea:not([readonly]):not([disabled]) {
    pointer-events: auto !important;
    user-select: text !important;
    cursor: text !important;
    background-color: white !important;
    border: 1px solid #ccc !important;
    position: relative !important;
    z-index: 10 !important;
}

.excel-table input[type="number"],
.excel-table input[type="text"] {
    pointer-events: auto !important;
    user-select: text !important;
    cursor: text !important;
    position: relative !important;
    z-index: 10 !important;
    background-color: white !important;
}

/* Override any conflicting styles */
.excel-table input,
.excel-table select,
.excel-table textarea {
    pointer-events: auto !important;
    user-select: text !important;
    cursor: text !important;
    background-color: white !important;
    border: 1px solid #ccc !important;
    position: relative !important;
    z-index: 10 !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.excel-table select {
    cursor: pointer !important;
}

/* Custom Dropdown Styles */
.custom-dropdown .dropdown-display:hover {
    border-color: #0056b3 !important;
    background-color: #f8f9fa !important;
}

.custom-dropdown .dropdown-option:hover {
    background-color: #007bff !important;
    color: white !important;
}

.custom-dropdown .dropdown-option:last-child {
    border-bottom: none !important;
}


.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    padding: 5px;
}

.calendar-nav {
    background: none;
    border: none;
    font-size: 16px;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 4px;
}

.calendar-nav:hover {
    background-color: #f0f0f0;
}

.calendar-title {
    font-weight: bold;
    font-size: 14px;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
}

.calendar-day-header {
    text-align: center;
    font-size: 12px;
    font-weight: bold;
    padding: 5px;
    background-color: #f8f9fa;
}

.calendar-day {
    text-align: center;
    padding: 8px;
    cursor: pointer;
    border-radius: 4px;
    font-size: 12px;
}

.calendar-day:hover {
    background-color: #e3f2fd;
}

.calendar-day.selected {
    background-color: #2196f3;
    color: white;
}

.calendar-day.other-month {
    color: #ccc;
}

.table-responsive {
    border: 1px solid #dee2e6;
    border-radius: 8px;
    overflow-x: auto;
    overflow-y: auto;
    max-height: 70vh;
    position: relative;
}

.table-responsive::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

.table-responsive::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.table-responsive::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

.table-responsive::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* استایل‌های پیشرفته - بخش اول */
/* فاصله 10 پیکسل از راست و چپ صفحه */
.container-fluid {
    padding-left: 10px !important;
    padding-right: 10px !important;
}

@media (max-width: 768px) {
    .container-fluid {
        padding-left: 8px !important;
        padding-right: 8px !important;
    }
    
    .container {
        padding: 0 8px !important;
    }
    
    main.container {
        padding: 15px 8px !important;
    }
}

/* استایل‌های section header */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    padding: 1rem 0;
    border-bottom: 2px solid #e9ecef;
}

.section-title {
    margin: 0;
    color: #2c3e50;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.section-subtitle {
    margin: 0.5rem 0 0 0;
    color: #6c757d;
    font-size: 0.9rem;
}

.section-actions {
    margin-top: 0.5rem;
}


/* استایل‌های اعلان‌ها پیشرفته */
.notifications-list {
    max-height: none;
    overflow-y: visible;
}

.notification-item {
    border: 1px solid #e9ecef;
    border-radius: 8px;
    margin-bottom: 10px;
    padding: 15px;
    background: #fff;
    transition: all 0.3s ease;
}

.notification-item:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
}

.notification-unread {
    border-left: 4px solid #ffc107;
    background: #fffbf0;
    color: #000000;
}

.notification-content {
    display: flex;
    flex-direction: column;
}

.notification-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
}

.notification-title {
    display: flex;
    align-items: center;
    flex: 1;
}

.notification-title h6 {
    margin: 0;
    font-weight: 600;
    color: #333;
}

.notification-time {
    color: #6c757d;
    font-size: 0.875rem;
}

.notification-body {
    margin-bottom: 10px;
}

.notification-body p {
    margin: 0;
    color: #555;
    line-height: 1.5;
}

.notification-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.notification-status .badge {
    font-size: 0.75rem;
}

.notification-actions .btn {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
}

/* دکمه غیرفعال */
.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}

.btn:disabled:hover {
    transform: none;
    box-shadow: none;
}

/* نوار ناوبری مدرن */
.modern-navbar {
    background: linear-gradient(135deg, #6c5ce7 0%, #a29bfe 100%);
    box-shadow: 0 4px 20px rgba(108, 92, 231, 0.3);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding: 1rem 0;
}

.modern-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: white !important;
    transition: all 0.3s ease;
}

.modern-brand:hover {
    transform: translateY(-2px);
    color: white !important;
}

.brand-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 1rem;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    color: white;
}

.brand-icon:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(10deg);
    color: white;
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-title {
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.2;
}

.brand-subtitle {
    font-size: 0.8rem;
    opacity: 0.8;
    font-weight: 400;
}

.modern-nav-link {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem !important;
    margin: 0 0.25rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    color: rgba(255, 255, 255, 0.9) !important;
    position: relative;
    overflow: hidden;
    font-weight: 600;
}

.modern-nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s;
}

.modern-nav-link:hover::before {
    left: 100%;
}

.modern-nav-link:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white !important;
    transform: translateY(-2px);
}

.logout-nav-link:hover {
    background: rgba(220, 53, 69, 0.8) !important;
    color: white !important;
    transform: translateY(-2px);
}

.modern-nav-link i {
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.modern-nav-link:hover i {
    transform: scale(1.1);
}

/* استایل اعلان‌ها */
.notification-link {
    position: relative;
}

.notification-icon {
    position: relative;
    display: flex;
    align-items: center;
}

.notification-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: linear-gradient(135deg, #fd79a8, #fdcb6e);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 0.65rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    line-height: 1;
    text-align: center;
    padding: 0;
    margin: 0;
    animation: pulse 2s infinite;
    box-sizing: border-box;
}

.notification-badge::before {
    content: '';
    display: inline-block;
    height: 100%;
    vertical-align: middle;
}

.notification-badge span {
    display: inline-block;
    vertical-align: middle;
    line-height: 1;
}

/* استایل کاربر */
.user-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.user-avatar {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    color: white;
}

.user-link:hover .user-avatar {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
    color: white;
}

.user-info {
    display: flex;
    flex-direction: column;
}

.user-name {
    font-weight: 600;
    font-size: 0.9rem;
    line-height: 1.2;
}

.user-role {
    font-size: 0.75rem;
    opacity: 0.8;
}

/* منوی کشویی مدرن */
.modern-dropdown {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border: 1px solid #e9ecef;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    padding: 0.5rem 0;
    margin-top: 0.5rem;
    min-width: 200px;
}

.modern-dropdown-item {
    padding: 0.75rem 1.5rem;
    color: #495057;
    transition: all 0.3s ease;
    border-radius: 8px;
    margin: 0 0.5rem;
    font-weight: 500;
}

.modern-dropdown-item:hover {
    background: linear-gradient(135deg, #6c5ce7, #a29bfe);
    color: white;
    transform: translateX(-5px);
}

.modern-dropdown-header {
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 8px;
    margin: 0 0.5rem 0.5rem;
    color: #2c3e50;
    font-weight: 600;
}

.logout-item:hover {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24) !important;
    color: white !important;
}

/* فوتر مدرن */
.modern-footer {
    background: linear-gradient(135deg, #2d3436 0%, #636e72 100%);
    color: #ddd;
    padding: 3rem 0 1rem;
    margin-top: auto;
    position: relative;
    overflow: hidden;
}

.modern-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(135deg, #6c5ce7, #a29bfe);
}

.footer-brand {
    display: flex;
    align-items: center;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-brand i {
    color: #6c5ce7;
    font-size: 1.5rem;
}

.footer-description {
    color: #b2bec3;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 0;
}

.footer-links h6 {
    color: #ddd;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #b2bec3;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.footer-links a:hover {
    color: #6c5ce7;
    transform: translateX(5px);
}

.footer-divider {
    border-color: #636e72;
    margin: 2rem 0 1rem;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-tech {
    color: #b2bec3;
    font-size: 0.9rem;
}

.footer-tech i {
    animation: heartbeat 1.5s ease-in-out infinite;
}

/* عنوان ساده داشبورد */
.dashboard-title-simple {
    color: #495057;
    font-weight: 700;
    font-size: 2.5rem;
    margin: 0;
    padding: 1rem 0;
    border-bottom: 3px solid #6c5ce7;
    display: flex;
    align-items: center;
}

.dashboard-title-simple i {
    color: #6c5ce7;
    font-size: 2rem;
}

/* دکمه خروج در هدر */
.btn-outline-danger {
    border: 2px solid #dc3545;
    color: #dc3545;
    border-radius: 12px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
    background: transparent;
}

.btn-outline-danger:hover {
    background: #dc3545;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 53, 69, 0.3);
}

/* کارت‌های مدرن */
.modern-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid #e9ecef;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.modern-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: #e17055;
}

.modern-card-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: none;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #e17055, #fdcb6e);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.header-text h5 {
    font-weight: 700;
    color: #495057;
    margin: 0;
}

.card-subtitle {
    color: #6c757d;
    font-size: 0.9rem;
    margin: 0.25rem 0 0;
}

.header-actions {
    display: flex;
    gap: 0.5rem;
}

/* دکمه‌های عملیات سریع */
.quick-action-btn {
    display: flex;
    align-items: center;
    padding: 1.5rem;
    border-radius: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
}

.quick-action-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.quick-action-btn:hover::before {
    left: 100%;
}

.quick-action-btn:hover {
    transform: translateY(-3px);
    text-decoration: none;
}

.primary-btn {
    background: linear-gradient(135deg, #e17055 0%, #fdcb6e 100%);
    color: white;
    border: none;
}

.secondary-btn {
    background: linear-gradient(135deg, #74b9ff 0%, #0984e3 100%);
    color: white;
    border: none;
}

.success-btn {
    background: linear-gradient(135deg, #00b894 0%, #00cec9 100%);
    color: white;
    border: none;
}

.btn-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-left: 1rem;
    color: white;
}

.btn-content {
    flex: 1;
}

.btn-content h6 {
    font-weight: 700;
    margin: 0 0 0.5rem;
    font-size: 1.1rem;
}

.btn-content p {
    margin: 0;
    opacity: 0.9;
    font-size: 0.9rem;
}

.btn-arrow {
    font-size: 1.2rem;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.quick-action-btn:hover .btn-arrow {
    transform: translateX(-5px);
    opacity: 1;
}

/* کارت‌های آمار پیشرفته */
.stats-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    border: 1px solid #e9ecef;
    text-decoration: none;
    color: inherit;
}

.clickable-card {
    cursor: pointer;
}

.clickable-card:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2) !important;
}

.stats-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    transition: all 0.3s ease;
}

.stats-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: #e17055;
}

.rejected-card::before {
    background: linear-gradient(135deg, #e17055, #fdcb6e);
}

.inventory-card::before {
    background: linear-gradient(135deg, #74b9ff, #0984e3);
}

.finance-card::before {
    background: linear-gradient(135deg, #00b894, #00cec9);
}

.completed-card::before {
    background: linear-gradient(135deg, #6c5ce7, #a29bfe);
}

.management-card::before {
    background: linear-gradient(135deg, #8e44ad, #9b59b6);
}

.user-requests-card::before {
    background: linear-gradient(135deg, #6c5ce7, #a29bfe);
}

.pending-card::before {
    background: linear-gradient(135deg, #fdcb6e, #e17055);
}

.stats-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    flex-shrink: 0;
}

.rejected-card .stats-icon {
    background: linear-gradient(135deg, #e17055, #fdcb6e);
}

.inventory-card .stats-icon {
    background: linear-gradient(135deg, #74b9ff, #0984e3);
}

.finance-card .stats-icon {
    background: linear-gradient(135deg, #00b894, #00cec9);
}

.completed-card .stats-icon {
    background: linear-gradient(135deg, #6c5ce7, #a29bfe);
}

.management-card .stats-icon {
    background: linear-gradient(135deg, #8e44ad, #9b59b6);
}

.user-requests-card .stats-icon {
    background: linear-gradient(135deg, #6c5ce7, #a29bfe);
}

.pending-card .stats-icon {
    background: linear-gradient(135deg, #fdcb6e, #e17055);
}

.reports-card::before {
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.reports-card .stats-icon {
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.stats-content {
    flex: 1;
}

.stats-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #495057;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stats-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: #6c757d;
    margin-bottom: 0.25rem;
}

.stats-description {
    font-size: 0.9rem;
    color: #adb5bd;
    margin: 0;
}

.stats-arrow {
    font-size: 1.5rem;
    color: #dee2e6;
    transition: all 0.3s ease;
}

.stats-card:hover .stats-arrow {
    color: #e17055;
    transform: translateX(-5px);
}

/* استایل‌های صفحات ادمین */
.page-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    padding: 2rem;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
    position: relative;
    overflow: hidden;
    margin-bottom: 2rem;
}

.page-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

.page-header .header-content {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    position: relative;
    z-index: 2;
}

.page-header .header-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.page-header .header-text h1 {
    font-size: 2.2rem;
    font-weight: 700;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.page-header .header-subtitle {
    font-size: 1rem;
    opacity: 0.9;
    margin: 0.5rem 0 0;
    font-weight: 400;
}

.page-header .header-actions {
    position: relative;
    z-index: 2;
}

.page-header .stats-badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 1rem 1.5rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    font-weight: 600;
    font-size: 1.1rem;
}

/* فیلتر مدرن */
.filter-card {
    border: 2px solid #e3f2fd;
    background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
}

.modern-label {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
}

.modern-label i {
    color: #667eea;
    font-size: 0.9rem;
}

.modern-select {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
    background-color: #fafbfc;
    font-weight: 500;
}

.modern-select:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.15);
    background-color: white;
    transform: translateY(-1px);
}

.modern-input {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
    background-color: #fafbfc;
}

.modern-input:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.15);
    background-color: white;
    transform: translateY(-1px);
}

.search-input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.search-input-group .modern-input {
    border-radius: 10px 0 0 10px;
    border-left: 2px solid #e9ecef;
    border-right: none;
    padding-left: 1rem;
    padding-right: 3rem;
}

.search-btn {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 50px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border: none;
    border-radius: 10px 0 0 10px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.search-btn:hover {
    background: linear-gradient(135deg, #5a6fd8, #6a4190);
    transform: scale(1.05);
}

/* دکمه‌های مدرن */
.modern-btn-primary {
    background: linear-gradient(135deg, #e17055, #fdcb6e);
    border: none;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.modern-btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.modern-btn-primary:hover::before {
    left: 100%;
}

.modern-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(225, 112, 85, 0.4);
    color: white;
}






/* عنوان انیمیشن‌دار */
.animated-title {
    color: #333;
    font-weight: 700;
    margin-bottom: 0.5rem;
    animation: slideInDown 1s ease-out 0.3s both;
}

.animated-subtitle {
    animation: slideInUp 1s ease-out 0.5s both;
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* فیلدهای ورود انیمیشن‌دار */
.animated-form {
    animation: fadeInUp 1s ease-out 0.7s both;
}

.animated-label {
    color: #555;
    font-weight: 600;
    margin-bottom: 8px;
    transition: all 0.3s ease;
}

.animated-input {
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 15px 20px;
    font-size: 16px;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    background: rgba(255, 255, 255, 0.9);
}

.animated-input:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 1);
}

.animated-input:hover {
    border-color: #667eea;
    transform: translateY(-1px);
}

/* دکمه انیمیشن‌دار */
.animated-button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 12px;
    padding: 15px 30px;
    font-weight: 600;
    font-size: 18px;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.animated-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.4);
}

.animated-button:active {
    transform: translateY(-1px) scale(0.98);
}

.animated-button.loading {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    cursor: not-allowed;
}

.animated-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.animated-button:hover::before {
    left: 100%;
}

.animated-button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.animated-button:active::after {
    width: 300px;
    height: 300px;
}

/* دکمه toggle انیمیشن‌دار */
.animated-toggle {
    border-radius: 0 12px 12px 0;
    border: 2px solid #e9ecef;
    border-right: none;
    transition: all 0.3s ease;
}

.animated-toggle:hover {
    background-color: #667eea;
    color: white;
    border-color: #667eea;
}

/* انیمیشن فوکوس */
.mb-3.focused .animated-label,
.mb-4.focused .animated-label {
    color: #667eea;
    transform: translateY(-2px);
}

.mb-3.focused .animated-input,
.mb-4.focused .animated-input {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

/* انیمیشن Ripple Effect */
.ripple-effect {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    transform: scale(0);
    animation: rippleAnimation 0.6s linear;
    pointer-events: none;
}

@keyframes rippleAnimation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* کارت ورود قدیمی */
.login-card {
    border: none;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
}

.login-card .card-body {
    border-radius: 15px;
}

/* نوار ناوبری */
.navbar-brand {
    font-weight: 600;
    font-size: 1.3rem;
}

.navbar-nav .nav-link {
    font-weight: 500;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
}

/* کارت‌های آمار */
.card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.card-header {
    background: linear-gradient(45deg, #007bff, #0056b3);
    color: white;
    border-radius: 10px 10px 0 0 !important;
    border: none;
}

/* دکمه‌ها */
.btn {
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-lg {
    padding: 12px 24px;
    font-size: 1.1rem;
}

/* فرم‌ها */
.form-control {
    border-radius: 8px;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.form-label {
    font-weight: 500;
    color: #495057;
}

/* جداول */
.table {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.table thead th {
    background: linear-gradient(45deg, #007bff, #0056b3);
    color: white;
    border: none;
    font-weight: 600;
}

.table tbody tr {
    transition: background-color 0.3s ease;
}

/* Hover effect حذف شد */

/* وضعیت‌ها */
.status-badge {
    font-size: 0.85rem;
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: 500;
}

.status-pending {
    background-color: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

.status-approved {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.status-rejected {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.status-completed {
    background-color: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

/* Toast Notifications */
#toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    max-width: 400px;
}

.toast-notification {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    margin-bottom: 10px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
    transform: translateX(100%);
    opacity: 0;
    transition: all 0.3s ease;
    position: relative;
    min-width: 300px;
    max-width: 400px;
}

.toast-notification.show {
    transform: translateX(0);
    opacity: 1;
}

.toast-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    margin-left: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.toast-content {
    flex: 1;
    min-width: 0;
}

.toast-message {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    word-wrap: break-word;
}

.toast-close {
    background: none;
    border: none;
    padding: 4px;
    cursor: pointer;
    color: inherit;
    opacity: 0.7;
    transition: opacity 0.2s ease;
    flex-shrink: 0;
}

.toast-close:hover {
    opacity: 1;
}

/* Toast Types */
.toast-success {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    border-left: 4px solid #065f46;
}

.toast-error {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    border-left: 4px solid #991b1b;
}

.toast-warning {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    border-left: 4px solid #92400e;
}

.toast-info {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    border-left: 4px solid #1e40af;
}

/* انیمیشن‌های اضافی */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 0.5s ease-out;
}

@keyframes slideIn {
    from { transform: translateX(-100%); }
    to { transform: translateX(0); }
}

.slide-in {
    animation: slideIn 0.3s ease-out;
}

/* انیمیشن اعلان‌ها */
.alert {
    transition: all 0.3s ease;
    animation: slideInFromTop 0.5s ease-out;
}

@keyframes slideInFromTop {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.alert.fade-out {
    opacity: 0;
    transform: translateY(-10px);
}

/* ریسپانسیو */
@media (max-width: 768px) {
    #toast-container {
        top: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
    }
    
    .toast-notification {
        min-width: auto;
        max-width: none;
    }
    
    .card-body {
        padding: 1rem;
    }
    
    .btn-lg {
        padding: 10px 20px;
        font-size: 1rem;
    }
    
    .table-responsive {
        font-size: 0.9rem;
    }
    
    .navbar-brand {
        font-size: 1.1rem;
    }
}

/* اسکرول بار سفارشی */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: #007bff;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #0056b3;
}

/* تایپوگرافی */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    color: #2c3e50;
}

.text-primary {
    color: #007bff !important;
}

.text-success {
    color: #28a745 !important;
}

.text-warning {
    color: #ffc107 !important;
}

.text-danger {
    color: #dc3545 !important;
}

/* لودینگ */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #007bff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Filters */
.filters {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.filters .form-row {
    display: flex;
    gap: 15px;
    align-items: end;
    flex-wrap: wrap;
}

.filters .form-group {
    flex: 1;
    min-width: 200px;
}

/* Responsive */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        gap: 10px;
    }
    
    .navbar ul {
        flex-direction: column;
    }
    
    .filters .form-row {
        flex-direction: column;
    }
    
    .filters .form-group {
        min-width: 100%;
    }
    
    .table {
        font-size: 12px;
    }
    
    .table th,
    .table td {
        padding: 8px;
    }
}

/* Custom checkbox styles */
.checkbox-group {
    display: flex;
    gap: 15px;
    margin: 10px 0;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.checkbox-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #667eea;
}

/* Loading spinner */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Notification styles */
.notification {
    background: white;
    border-left: 4px solid #667eea;
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.notification.unread {
    background: #f8f9ff;
    border-left-color: #ff6b6b;
}

.notification h6 {
    color: #333;
    margin-bottom: 5px;
}

.notification p {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
}

.notification .time {
    color: #999;
    font-size: 0.8rem;
    margin-top: 5px;
}

/* Excel-like table styling */
.excel-table {
    border: 1px solid #ddd;
    border-collapse: collapse;
    width: 100%;
    font-size: 16px;
}

.excel-table th,
.excel-table td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: center;
    background: white;
}

.excel-table th {
    background: #f0f0f0;
    font-weight: bold;
}

.excel-table tbody tr:nth-child(even) {
    background: #f9f9f9;
}

/* Hover effect حذف شد */

/* Form validation */
.invalid-feedback {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.valid-feedback {
    color: #28a745;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* Persian date picker styling */
.persian-date-input {
    direction: ltr;
    text-align: center;
}

/* Dropdown styling */
.dropdown-menu {
    background: white;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    max-height: 200px;
    overflow-y: auto;
}

.dropdown-item {
    padding: 8px 15px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dropdown-item:hover {
    background: #f8f9fa;
}

/* Modal styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 20px;
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    max-height: 80vh;
    overflow-y: auto;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.modal-header h3 {
    margin: 0;
    color: #333;
}

.close {
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover {
    color: #000;
}

/* Text overflow handling for long content */
.excel-table td a {
    display: inline-block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    word-break: break-all;
}

.excel-table td a:hover {
    white-space: normal;
    word-break: break-word;
    position: relative;
    z-index: 10;
    background: white;
    padding: 2px 4px;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

/* Long text handling */
.excel-table td .long-text {
    display: inline-block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    cursor: help;
}

.excel-table td .long-text:hover {
    white-space: normal;
    word-break: break-word;
    position: relative;
    z-index: 10;
    background: white;
    padding: 2px 4px;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

/* Tooltip for truncated content */
.excel-table td[title] {
    position: relative;
}

.excel-table td[title]:hover::after {
    content: attr(title);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #333;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    white-space: nowrap;
    z-index: 1000;
    pointer-events: none;
}

/* Print styles */
@media print {
    .navbar,
    .header,
    .btn,
    .filters {
        display: none !important;
    }
    
    .card {
        box-shadow: none;
        border: 1px solid #ddd;
    }
    
    .table {
        font-size: 10px;
    }
}
