/* BulkSMS Application Styles */

/* Base styles */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
}

/* Navigation styles */
.navbar {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
}

/* Card styles */
.card {
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.card-body {
    padding: 1.5rem;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1f2937;
}

/* Stat styles */
.stat {
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    text-align: left;
}

.stat-figure {
    color: #6366f1;
    font-size: 2rem;
    margin-right: 1rem;
    flex-shrink: 0;
}

.stat-content {
    flex: 1;
}

.stat-title {
    font-size: 0.875rem;
    font-weight: 500;
    color: #6b7280;
    margin-bottom: 0.25rem;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.stat-desc {
    font-size: 0.75rem;
    color: #9ca3af;
}

/* Progress bar styles */
.progress {
    appearance: none;
    height: 8px;
    border-radius: 4px;
    background-color: #e5e7eb;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background-color: #3b82f6;
    transition: width 0.3s ease;
}

/* Badge styles */
.badge {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 9999px;
    text-transform: uppercase;
    height: auto !important;
}

.badge-primary {
    background-color: #3b82f6;
    color: white;
}

.badge-success {
    background-color: #10b981;
    color: white;
}

.badge-warning {
    background-color: #f59e0b;
    color: white;
}

.badge-secondary {
    background-color: #FFFF00 !important;
    color: #162e53;
    border: 1px solid #FFFF00 !important;
}

/* Button styles */
.btn {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    border: 1px solid transparent;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.5;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.15s ease-in-out;
}

.btn-primary {
    background-color: #3b82f6;
    color: white;
}

.btn-primary:hover {
    background-color: #2563eb;
}

.btn-success {
    background-color: #10b981;
    color: white;
}

.btn-warning {
    background-color: #f59e0b;
    color: white;
}

.btn-outline {
    background-color: transparent;
    border: 1px solid #d1d5db;
    color: #374151;
}

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

.btn-xs {
    padding: 0.125rem 0.25rem;
    font-size: 0.625rem;
}

/* Table styles */
.table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.table th {
    padding: 0.75rem;
    text-align: left;
    font-weight: 600;
    color: #374151;
    border-bottom: 1px solid #e5e7eb;
}

.table td {
    padding: 0.75rem;
    border-bottom: 1px solid #f3f4f6;
}

.table-zebra tbody tr:nth-child(odd) {
    background-color: #f9fafb;
}

/* Form styles */
.form-input {
    display: block;
    width: 100%;
    padding: 0.5rem 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    line-height: 1.5;
}

.form-input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Alert styles */
.alert {
    padding: 1rem;
    border-radius: 0.375rem;
    margin-bottom: 1rem;
}

.alert-info {
    background-color: #dbeafe;
    border-color: #3b82f6;
    color: #1e40af;
}

.alert-success {
    background-color: #d1fae5;
    border-color: #10b981;
    color: #065f46;
}

.alert-warning {
    background-color: #fed7aa;
    border-color: #f59e0b;
    color: #92400e;
}

.alert-error {
    background-color: #fee2e2;
    border-color: #ef4444;
    color: #991b1b;
}

/* Responsive utilities */
@media (max-width: 768px) {
    .card-body {
        padding: 1rem;
    }
    
    .stat {
        padding: 1rem;
    }
    
    .btn {
        padding: 0.75rem 1rem;
        font-size: 1rem;
    }
}

.sm\:text-sm {
    font-size: 0.875rem !important;
    line-height: 2.25rem !important;
    padding-left: 10px !important;
    background:transparent !important;
    border: 1px solid #3b82f6 !important;
    color: #000 !important;
}
.shadow-sm{
    background: transparent !important;
    height: 2.5rem !important;
}

select {
    text-transform: none;
    height: 2.5rem !important;
    padding-right: 10px !important;
}

/* Table hover styles */
.table tbody tr:hover {
    background-color: #162e53;
    color: white;
}

.table tbody tr:hover td {
    color: white;
}

/* Custom scrollbar for recent activity card */
.space-y-3::-webkit-scrollbar {
    width: 6px;
}

.space-y-3::-webkit-scrollbar-track {
    background: transparent;
}

.space-y-3::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 3px;
}

.space-y-3::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.5);
}

/* Firefox scrollbar */
.space-y-3 {
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, 0.3) transparent;
}

.hover\:bg-base-200:hover{
    background-color: #162e53 !important;
    color: #fff !important;
}
.btn-outline:hover{
    background-color:#3b82f6 !important;
    color: #fff !important;
    border-color: #3b82f6 !important;
}
.btn-outline{
    color: #3b82f6 !important;
    border-color: #3b82f6 !important;
}
.form-input{
    background: transparent !important;
}
.table tr.active, .table tr.active:nth-child(2n), .table-zebra tbody tr:nth-child(2n) {
    background-color: transparent !important;
}
.dataTables_wrapper .dataTables_filter input {
    background: transparent !important;
    border: 1px solid !important;
    border-radius: 10px !important;
    padding: 4px !important;
    margin-left: 5px !important;
}

