/**
 * True Conversion - Admin Dashboard Styles
 */

/* General styles */
body {
    font-family: 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    font-size: 0.9rem;
    background-color: #f8f9fa;
}

.container-fluid {
    padding: 0;
}

/* Main content */
main {
    padding-top: 1.5rem;
}

/* Cards */
.card {
    border: none;
    border-radius: 0.5rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    margin-bottom: 1.5rem;
}

.card-header {
    background-color: #fff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    font-weight: 500;
}

.card-header h6 {
    color: #3961AA;
}

/* Border left cards */
.border-left-primary {
    border-left: 0.25rem solid #3961AA !important;
}

.border-left-success {
    border-left: 0.25rem solid #1cc88a !important;
}

.border-left-info {
    border-left: 0.25rem solid #36b9cc !important;
}

.border-left-warning {
    border-left: 0.25rem solid #f6c23e !important;
}

.border-left-danger {
    border-left: 0.25rem solid #e74a3b !important;
}

/* Text colors */
.text-primary {
    color: #3961AA !important;
}

.text-success {
    color: #1cc88a !important;
}

.text-info {
    color: #36b9cc !important;
}

.text-warning {
    color: #f6c23e !important;
}

.text-danger {
    color: #e74a3b !important;
}

.text-gray-300 {
    color: #dddfeb !important;
}

.text-gray-800 {
    color: #5a5c69 !important;
}

/* Font sizes */
.text-xs {
    font-size: 0.7rem;
}

.text-sm {
    font-size: 0.8rem;
}

.text-lg {
    font-size: 1.2rem;
}

.text-xl {
    font-size: 1.5rem;
}

/* Font weights */
.font-weight-bold {
    font-weight: 700 !important;
}

/* Tables */
.table {
    color: #5a5c69;
}

.table th {
    font-weight: 600;
    background-color: #f8f9fc;
    color: #4e73df;
    white-space: nowrap;
}

.table-bordered {
    border: 1px solid #e3e6f0;
}

.table-bordered th,
.table-bordered td {
    border: 1px solid #e3e6f0;
}

/* Progress bars */
.progress {
    height: 1.5rem;
    font-size: 0.75rem;
    background-color: #eaecf4;
    border-radius: 0.35rem;
    font-weight: 600;
}

.progress-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background-color: #3961AA;
}

/* Badges */
.badge {
    font-weight: 600;
    padding: 0.35em 0.65em;
    border-radius: 0.35rem;
}

/* Buttons */
.btn-primary {
    background-color: #3961AA;
    border-color: #3961AA;
}

.btn-primary:hover, .btn-primary:focus {
    background-color: #2d4d8a;
    border-color: #2d4d8a;
}

.btn-outline-secondary {
    color: #858796;
    border-color: #ddd;
}

.btn-outline-secondary:hover {
    color: #fff;
    background-color: #858796;
    border-color: #858796;
}

/* Dropdown */
.dropdown-menu {
    font-size: 0.85rem;
    border: none;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.175);
}

.dropdown-header {
    font-weight: 600;
    font-size: 0.65rem;
    color: #b7b9cc;
}

/* Animations */
.animated--fade-in {
    animation-name: fadeIn;
    animation-duration: 200ms;
    animation-timing-function: opacity cubic-bezier(0, 1, 0.4, 1);
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

/* Responsive adjustments */
@media (min-width: 768px) {
    main {
        padding-top: 1.5rem;
    }
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a1a1a1;
}
