/* Main stylesheet for CIBIL Partner Portal */

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f5f5f5;
    color: #333;
}

.login-container {
    max-width: 400px;
    margin: 100px auto;
    padding: 25px;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.partner-card {
    transition: transform 0.3s ease;
    margin-bottom: 20px;
}

.partner-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.status-active {
    color: #28a745;
}

.status-inactive {
    color: #dc3545;
}

.status-superuser {
    color: #007bff;
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: #fff;
    padding: 25px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.dashboard-container {
    width: 100%;
    background-color: #fff;
    padding: 25px 30px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.table-actions {
    white-space: nowrap;
}

/* Dashboard cards and stats styling */
.stat-card {
    border-radius: 10px;
    transition: all 0.3s ease;
    border: none;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}

.stat-card .display-5 {
    font-weight: 600;
    color: var(--primary-color);
}

.calls-chart {
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}

/* Improved table styling */
.table-responsive {
    border-radius: 5px;
    overflow: hidden;
}

.table {
    margin-bottom: 0;
}

.table th {
    background-color: rgba(13, 110, 253, 0.05);
    border-top: none;
    font-weight: 600;
}

/* Modal improvements */
.modal-content {
    border-radius: 10px;
}

.modal-header {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

/* Dashboard layout */
@media (min-width: 992px) {
    .container-fluid {
        padding-left: 30px !important;
        padding-right: 30px !important;
    }
}

.card {
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: none;
}

/* Form control enhancements */
.form-select-sm {
    min-width: 120px;
}

#apiLogSearch {
    transition: all 0.2s ease;
}

#apiLogSearch:focus {
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}