/* Dashboard Styles */
.dashboard-container {
    margin-bottom: 40px;
}

/* Quick Links Button Styles */
.btn-outline-primary:hover {
    background-color: #445082;
    border-color: #445082;
    color: white !important;
}

/* Dashboard heading styles */
.dashboard-container h4 {
    color: #2B3C6B;
}

.dashboard-container h4 i {
    font-size: 1.2rem;
    color: #2B3C6B;
}

.stat-card {
    background: white;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 20px;
    border-left: 4px solid #445082;
}

.stat-card.stat-draft {
    border-left-color: #ffc107;
}

.stat-card.stat-approved {
    border-left-color: #28a745;
}

.stat-card.stat-sent {
    border-left-color: #6c757d;
}

.stat-card.stat-total {
    border-left-color: #445082;
}

.stat-card.stat-scheduled {
    border-left-color: #17a2b8;
}

.stat-number {
    font-size: 2rem;
    font-weight: bold;
    color: #2B3C6B;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    color: #6c757d;
    text-transform: uppercase;
    font-weight: 500;
}

.email-item {
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 15px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.email-item:hover {
    border-color: #445082;
    box-shadow: 0 2px 8px rgba(68, 80, 130, 0.1);
}

.email-item:last-child {
    margin-bottom: 0;
}

.email-subject {
    font-weight: 600;
    color: #2B3C6B;
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.email-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: #6c757d;
}

.email-date {
    font-size: 0.85rem;
}

.date-label {
    font-weight: 500;
    color: #6c757d;
}

.dashboard-loading {
    display: none;
}

.dashboard-loading.show {
    display: block;
}

/* Load More button styling */
#loadMoreBtn {
    color: #445082 !important;
    border-color: #445082 !important;
}

#loadMoreBtn:hover {
    background-color: #445082 !important;
    border-color: #445082 !important;
    color: white !important;
}

#loadMoreBtn:disabled {
    color: #445082 !important;
    border-color: #445082 !important;
    opacity: 0.6;
}

/* Email list card styling */
.card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border: none;
}

.card-header {
    background-color: white;
    border-bottom: 1px solid #e0e0e0;
    padding: 20px;
}

.card-header h5 {
    color: #2B3C6B;
    font-weight: 600;
}

.card-header h5 i {
    color: #2B3C6B;
}

.card-body {
    padding: 20px;
}

/* Search and filter controls */
.form-control, .form-select {
    border: 1px solid #ced4da;
    border-radius: 4px;
    padding: 8px 12px;
    font-size: 14px;
}

.form-control:focus, .form-select:focus {
    border-color: #445082;
    box-shadow: 0 0 0 0.2rem rgba(68, 80, 130, 0.25);
}

/* Status badge styles for email list */
.status-badge {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
}

.status-badge.status-draft {
    background-color: #ffc107;
    color: #000;
}

.status-badge.status-approved {
    background-color: #28a745;
    color: white;
}

.status-badge.status-sent {
    background-color: #6c757d;
    color: white;
}

/* Empty state styling */
.empty-state {
    text-align: center;
    padding: 40px 20px;
    color: #6c757d;
}

.empty-state i {
    font-size: 3rem;
    margin-bottom: 15px;
    opacity: 0.5;
}