/* =====================================================
   Bulk Email Sender - Custom Styles
   ===================================================== */

/* Sidebar */
#sidebar-wrapper {
    min-width: 250px;
    max-width: 250px;
    min-height: 100vh;
    transition: all 0.3s;
}

#sidebar-wrapper.collapsed {
    margin-left: -250px;
}

#sidebar-wrapper .nav-link {
    padding: 12px 20px;
    font-size: 14px;
    transition: all 0.2s;
    border-left: 3px solid transparent;
}

#sidebar-wrapper .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

#sidebar-wrapper .nav-link.active {
    border-left-color: #0d6efd;
}

#sidebar-wrapper .nav-link i {
    width: 20px;
    text-align: center;
}

/* Page Content */
#page-content-wrapper {
    min-height: 100vh;
    background-color: #f8f9fa;
}

/* Cards */
.card {
    border-radius: 10px;
}

.card-header {
    border-radius: 10px 10px 0 0 !important;
}

/* Tables */
.table th {
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #6c757d;
}

.table td {
    vertical-align: middle;
    font-size: 14px;
}

/* Badges */
.badge {
    font-weight: 500;
    padding: 5px 10px;
}

/* Buttons */
.btn {
    border-radius: 6px;
    font-size: 14px;
}

.btn-sm {
    font-size: 13px;
    padding: 4px 12px;
}

/* Forms */
.form-control, .form-select {
    border-radius: 6px;
    font-size: 14px;
}

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

/* Alerts */
.alert {
    border-radius: 8px;
    font-size: 14px;
}

/* Progress Bar */
.progress {
    border-radius: 10px;
}

/* Login Page */
.card .shadow-lg {
    border-radius: 15px;
}

/* Responsive */
@media (max-width: 768px) {
    #sidebar-wrapper {
        margin-left: -250px;
        position: fixed;
        z-index: 999;
    }
    
    #sidebar-wrapper.show {
        margin-left: 0;
    }
    
    .container-fluid {
        padding: 15px !important;
    }
}

/* DataTables Override */
.dataTables_wrapper .dataTables_paginate .paginate_button.current {
    background: #0d6efd !important;
    border-color: #0d6efd !important;
    color: white !important;
    border-radius: 4px;
}

/* Animation */
.card {
    transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a1a1a1;
}
