/* Custom styles for Voice SMS Portal */

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
}

.card {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    border: 1px solid rgba(0, 0, 0, 0.125);
}

.card-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid rgba(0, 0, 0, 0.125);
}

.table th {
    background-color: #f8f9fa;
    border-top: none;
}

.btn {
    border-radius: 0.25rem;
}

.alert {
    border-radius: 0.25rem;
}

.badge {
    font-size: 0.75em;
}

/* Dashboard cards */
.card.bg-primary { background: linear-gradient(45deg, #007bff, #0056b3); }
.card.bg-success { background: linear-gradient(45deg, #28a745, #1e7e34); }
.card.bg-warning { background: linear-gradient(45deg, #ffc107, #e0a800); }
.card.bg-info { background: linear-gradient(45deg, #17a2b8, #138496); }
.card.bg-danger { background: linear-gradient(45deg, #dc3545, #c82333); }

/* Sidebar styles */
.sidebar {
    background-color: #343a40;
    min-height: 100vh;
    padding: 0;
}

.sidebar .sidebar-header {
    padding: 20px;
    background-color: #2c3136;
    color: white;
}

.sidebar .nav-link {
    color: #adb5bd;
    padding: 15px 20px;
    border-left: 3px solid transparent;
}

.sidebar .nav-link:hover {
    color: white;
    background-color: #495057;
    border-left-color: #007bff;
}

.sidebar .nav-link.active {
    color: white;
    background-color: #007bff;
    border-left-color: #0056b3;
}

/* Custom file upload */
.custom-file-input:focus ~ .custom-file-label {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

/* Progress bars */
.progress {
    border-radius: 0.25rem;
}

.progress-bar {
    border-radius: 0.25rem;
}

/* Table responsive */
.table-responsive {
    border-radius: 0.25rem;
}

/* Form controls */
.form-control:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

/* Navigation */
.navbar-brand {
    font-weight: bold;
}

.navbar-dark .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.8);
}

.navbar-dark .navbar-nav .nav-link:hover {
    color: white;
}

/* Custom utilities */
.text-small {
    font-size: 0.875rem;
}

.cursor-pointer {
    cursor: pointer;
}

/* Animation for alerts */
.alert {
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .sidebar {
        min-height: auto;
    }
    
    .card-body {
        padding: 1rem;
    }
    
    .table-responsive {
        font-size: 0.875rem;
    }
}