/* assets/css/custom.css - Custom styling */

/* General */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
}

/* Dashboard cards */
.dashboard-card {
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.dashboard-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}
.dashboard-card .number {
    font-size: 28px;
    font-weight: 700;
    color: #333;
}
.dashboard-card .label {
    color: #888;
    font-size: 14px;
}
.dashboard-card .icon {
    font-size: 36px;
    opacity: 0.2;
    float: right;
}

/* Status colors */
.status-active { color: #28a745; }
.status-inactive { color: #ffc107; }
.status-invalid { color: #dc3545; }
.status-unsubscribed { color: #6c757d; }
.status-draft { color: #6c757d; }
.status-scheduled { color: #17a2b8; }
.status-queued { color: #007bff; }
.status-sending { color: #ffc107; }
.status-completed { color: #28a745; }
.status-failed { color: #dc3545; }
.status-pending { color: #ffc107; }
.status-sent { color: #28a745; }

/* Table styling */
.table-container {
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.table th {
    border-top: none;
    color: #555;
    font-weight: 600;
}

/* Navigation */
.navbar-brand {
    font-weight: 700;
}
.sidebar {
    background: white;
    min-height: 100vh;
    box-shadow: 2px 0 10px rgba(0,0,0,0.05);
}
.sidebar .nav-link {
    color: #555;
    padding: 10px 20px;
    border-radius: 8px;
    margin: 2px 0;
}
.sidebar .nav-link:hover {
    background: #f0f2f5;
}
.sidebar .nav-link.active {
    background: #667eea;
    color: white;
}
.sidebar .nav-link i {
    margin-right: 10px;
    width: 20px;
}

/* Forms */
.form-label {
    font-weight: 600;
    color: #555;
}
.required:after {
    content: " *";
    color: red;
}

/* Alerts */
.alert {
    border-radius: 10px;
}

/* Buttons */
.btn {
    border-radius: 8px;
    padding: 8px 20px;
}
.btn-primary {
    background: #667eea;
    border-color: #667eea;
}
.btn-primary:hover {
    background: #5a6fd6;
    border-color: #5a6fd6;
}

/* Responsive */
@media (max-width: 768px) {
    .sidebar {
        min-height: auto;
    }
    .dashboard-card .number {
        font-size: 22px;
    }
}

/* Import preview */
.import-preview {
    max-height: 400px;
    overflow-y: auto;
}
.valid-email { color: #28a745; }
.invalid-email { color: #dc3545; }
.duplicate-email { color: #ffc107; }