/* CPID Tool - Custom Styles */

body {
    background-color: #1a1a2e;
    min-height: 100vh;
}

.navbar {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.card {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.card-header {
    font-weight: 600;
}

.table-dark {
    --bs-table-bg: transparent;
}

.table-hover > tbody > tr:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

code {
    color: #e83e8c;
}

.font-monospace {
    font-family: 'Cascadia Code', 'Fira Code', 'Consolas', monospace !important;
}

.badge {
    font-weight: 500;
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #1a1a2e;
}

::-webkit-scrollbar-thumb {
    background: #444;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #666;
}

/* Form inputs */
.form-control:focus,
.form-select:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

/* Alert icons */
.alert-success::before {
    content: "✓ ";
    font-weight: bold;
}

.alert-danger::before {
    content: "✗ ";
    font-weight: bold;
}

.alert-warning::before {
    content: "⚠ ";
    font-weight: bold;
}

/* Loading spinner */
.spinner-border-sm {
    width: 1rem;
    height: 1rem;
    border-width: 0.15em;
}

/* Responsive table text */
@media (max-width: 768px) {
    .table-sm td, .table-sm th {
        font-size: 0.8rem;
        padding: 0.3rem;
    }
}

/* Modal dark theme fix */
.modal-content {
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Footer */
footer {
    margin-top: auto;
}
