/* Signal by Datacraft - Custom Styles */

:root {
    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
    --success-color: #198754;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #0dcaf0;
    --datacraft-dark: #1a1a1a;
    --datacraft-light: #f8f9fa;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

main {
    flex: 1;
}

/* Navbar Branding */
.navbar-brand {
    font-weight: 700;
    font-size: 1.4rem;
    letter-spacing: 0.5px;
}

.navbar-brand strong {
    color: #fff;
}

.navbar-brand .text-muted {
    font-weight: 400;
    font-size: 0.9rem;
    color: #adb5bd !important;
}

/* Cards */
.card {
    transition: transform 0.2s, box-shadow 0.2s;
    border-radius: 8px;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.15) !important;
}

.card-header {
    border-radius: 8px 8px 0 0 !important;
    font-weight: 600;
}

/* Tables */
.table-hover tbody tr:hover {
    background-color: rgba(13, 110, 253, 0.05);
}

/* Badges */
.badge {
    font-weight: 500;
    padding: 0.4em 0.75em;
    border-radius: 6px;
}

/* Buttons */
.btn {
    transition: all 0.2s;
    font-weight: 500;
    border-radius: 6px;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-success {
    background-color: var(--success-color);
    border-color: var(--success-color);
}

/* Alerts */
.alert {
    border-left: 4px solid;
    border-radius: 8px;
}

.alert-success {
    border-left-color: var(--success-color);
}

.alert-danger {
    border-left-color: var(--danger-color);
}

.alert-warning {
    border-left-color: var(--warning-color);
}

.alert-info {
    border-left-color: var(--info-color);
    background-color: #e7f5ff;
}

/* Footer */
footer {
    margin-top: auto;
    background-color: var(--datacraft-light);
    border-top: 1px solid #dee2e6;
}

footer p {
    margin-bottom: 0;
}

/* File upload styling */
input[type="file"] {
    cursor: pointer;
}

/* Breadcrumb styling */
.breadcrumb {
    background-color: #f8f9fa;
    padding: 0.75rem 1rem;
    border-radius: 8px;
}

/* Status badges */
.badge.bg-pending {
    background-color: var(--warning-color) !important;
}

.badge.bg-processing {
    background-color: var(--info-color) !important;
}

.badge.bg-completed {
    background-color: var(--success-color) !important;
}

.badge.bg-failed {
    background-color: var(--danger-color) !important;
}

/* Pagination */
.pagination {
    margin-top: 1.5rem;
}

/* Home page enhancements */
.display-3 {
    font-weight: 700;
    letter-spacing: -0.5px;
}

.lead {
    font-size: 1.15rem;
    font-weight: 400;
}

/* Icon enhancements */
.bi {
    vertical-align: middle;
}

/* List styling */
.list-unstyled li {
    padding: 0.25rem 0;
}

/* Loading states */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .card {
        margin-bottom: 1rem;
    }
    
    .btn-group {
        display: flex;
        flex-direction: column;
    }
    
    .btn-group .btn {
        border-radius: 6px !important;
        margin-bottom: 0.25rem;
    }
    
    .navbar-brand {
        font-size: 1.2rem;
    }
}

/* Analytics focus */
.card-header.bg-primary {
    background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%) !important;
}

.card-header.bg-success {
    background: linear-gradient(135deg, #198754 0%, #146c43 100%) !important;
}

/* Strategic insights emphasis */
h1 i, h2 i, h3 i {
    margin-right: 0.5rem;
}

/* Professional look */
.text-muted {
    color: #6c757d !important;
}

small.text-muted {
    font-size: 0.875rem;
}


:root {
    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
    --success-color: #198754;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #0dcaf0;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

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

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

.table-hover tbody tr:hover {
    background-color: rgba(13, 110, 253, 0.05);
}

.badge {
    font-weight: 500;
    padding: 0.35em 0.65em;
}

.btn {
    transition: all 0.2s;
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.navbar-brand {
    font-weight: 600;
    font-size: 1.3rem;
}

.alert {
    border-left: 4px solid;
}

.alert-success {
    border-left-color: var(--success-color);
}

.alert-danger {
    border-left-color: var(--danger-color);
}

.alert-warning {
    border-left-color: var(--warning-color);
}

.alert-info {
    border-left-color: var(--info-color);
}

footer {
    margin-top: auto;
}

/* File upload styling */
input[type="file"] {
    cursor: pointer;
}

/* Breadcrumb styling */
.breadcrumb {
    background-color: #f8f9fa;
    padding: 0.75rem 1rem;
    border-radius: 0.25rem;
}

/* Status badges */
.badge.bg-pending {
    background-color: var(--warning-color) !important;
}

.badge.bg-processing {
    background-color: var(--info-color) !important;
}

.badge.bg-completed {
    background-color: var(--success-color) !important;
}

.badge.bg-failed {
    background-color: var(--danger-color) !important;
}

/* Pagination */
.pagination {
    margin-top: 1.5rem;
}

/* Loading states */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .card {
        margin-bottom: 1rem;
    }
    
    .btn-group {
        display: flex;
        flex-direction: column;
    }
    
    .btn-group .btn {
        border-radius: 0.25rem !important;
        margin-bottom: 0.25rem;
    }
}
