/* Custom styling for PermaShip Admin Dashboard */

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

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

main {
    flex: 1;
}

.navbar-brand strong {
    font-weight: 700;
    letter-spacing: 0.5px;
}

.card {
    border: none;
    border-radius: 8px;
}

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

.table code {
    background-color: transparent;
    padding: 2px 4px;
    border-radius: 3px;
}

.font-monospace {
    font-family: 'Courier New', Courier, monospace;
}

.footer {
    margin-top: auto;
}

/* Login page styling */
.card.shadow-sm {
    border-radius: 10px;
}

/* Responsive table */
@media (max-width: 768px) {
    .table-responsive {
        font-size: 0.875rem;
    }
}

/* Badge colors */
.badge {
    font-weight: 500;
}

/* Alert styling */
.alert {
    border-radius: 8px;
}

/* Button styling */
.btn {
    border-radius: 6px;
    font-weight: 500;
}

/* Form styling */
.form-control {
    border-radius: 6px;
}

.form-control:focus {
    border-color: var(--permaship-primary);
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

/* Score badges */
.badge-low {
    background-color: #6c757d;
    color: white;
}

.badge-medium {
    background-color: #ffc107;
    color: #000;
}

.badge-high {
    background-color: #198754;
    color: white;
}

/* Draft cards */
.draft-card {
    transition: box-shadow 0.3s ease;
}

.draft-card:hover {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.draft-content {
    white-space: pre-wrap;
    word-wrap: break-word;
}

/* Calendar styling */
.fc-event {
    cursor: pointer;
}

.calendar-legend {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.calendar-legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.calendar-legend-color {
    width: 16px;
    height: 16px;
    border-radius: 3px;
}

/* Responsive tables */
.table-responsive {
    overflow-x: auto;
}

@media (max-width: 768px) {
    .table-responsive {
        font-size: 0.875rem;
    }

    .draft-card {
        margin-bottom: 1rem;
    }
}

/* Navigation tabs */
.nav-tabs {
    border-bottom: 2px solid #dee2e6;
}

.nav-tabs .nav-link {
    color: #6c757d;
    font-weight: 500;
}

.nav-tabs .nav-link.active {
    color: var(--permaship-primary);
    border-bottom: 2px solid var(--permaship-primary);
}

/* Stats cards */
.stat-card {
    border-left: 4px solid;
    transition: transform 0.2s ease;
}

.stat-card:hover {
    transform: translateY(-2px);
}

.stat-card.stat-low {
    border-left-color: #6c757d;
}

.stat-card.stat-medium {
    border-left-color: #ffc107;
}

.stat-card.stat-high {
    border-left-color: #198754;
}

.stat-card.stat-primary {
    border-left-color: var(--permaship-primary);
}

/* Empty state */
.empty-state {
    text-align: center;
    padding: 3rem 1rem;
    color: #6c757d;
}

.empty-state-icon {
    font-size: 3rem;
    opacity: 0.3;
}

/* Action buttons */
.action-buttons {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

/* Loading spinner */
.spinner-border-sm {
    width: 1rem;
    height: 1rem;
    border-width: 0.15em;
}
