/* C3ME Custom Styles */

:root {
    --c3me-primary: #0d6efd;
    --c3me-dark: #212529;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--c3me-primary) 0%, #0a58ca 100%);
}

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

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

/* Quiz */
.quiz-answer {
    text-align: left !important;
}

.quiz-answer:hover {
    background-color: #e7f1ff;
    border-color: var(--c3me-primary);
}

/* Wizard Progress */
.wizard-step .form-control,
.wizard-step .form-select {
    border-radius: 0.5rem;
}

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

/* Checklist */
.checklist-item:checked + label {
    text-decoration: line-through;
    color: #6c757d;
}

.form-check-input:checked {
    background-color: #198754;
    border-color: #198754;
}

/* Progress bars */
.progress {
    border-radius: 1rem;
    overflow: hidden;
}

.progress-bar {
    transition: width 0.5s ease;
}

/* Navbar */
.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
}

/* Footer */
footer a:hover {
    color: white !important;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero .lead {
        font-size: 1rem;
    }
}

/* Document cards */
.card-footer {
    background: transparent;
    border-top: 1px solid rgba(0,0,0,0.1);
}

/* Sticky sidebar */
@media (min-width: 992px) {
    .sticky-top {
        top: 80px;
    }
}

/* Form styling */
.form-label {
    font-weight: 500;
}

.form-text {
    font-size: 0.875rem;
}

/* Alerts */
.alert {
    border-radius: 0.5rem;
}

/* Buttons */
.btn {
    border-radius: 0.5rem;
    font-weight: 500;
}

.btn-lg {
    padding: 0.75rem 1.5rem;
}

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

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a1a1a1;
}
