/* assets/css/style.css */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

/* Color Radio Selection */
.btn-check:checked+.btn {
    border: 3px solid var(--primary-color) !important;
    transform: scale(1.1);
}

.btn i,
.btn svg,
.nav-link-custom i {
    margin-right: 2px !important;
}

:root {
    --primary-color: #0d6efd;
    /* Bootstrap Primary Blue */
    --bs-body-bg: #f8f9fa;
    --bs-body-color: #212529;
    --card-bg: #ffffff;
    --border-color: #dee2e6;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bs-body-bg);
    color: var(--bs-body-color);
    overflow-x: hidden;
}

/* Utilities */
.glass-panel {
    /* Renamed concept to simple card in light mode */
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

.glass-header {
    background: #ffffff;
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* Typography & Elements */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    letter-spacing: -0.025em;
    color: #000000;
}

.btn-primary-custom {
    background-color: var(--primary-color);
    color: #ffffff;
    border: 1px solid var(--primary-color);
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.2s ease;
    min-width: 120px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-outline-primary,
.btn-outline-warning,
.btn-outline-light,
.btn-light {
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.2s ease;
    min-width: 120px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
    /* Default border for light/outline buttons */
}

.btn-outline-primary {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: #fff;
}

/* Icon Spacing */
.btn i,
.btn svg,
.nav-link-custom i {
    margin-right: 8px;
}

/* Specific fix for buttons that should be transparent but have outline */
.btn-outline-secondary {
    border: 1px solid #6c757d;
}

.btn-sm {
    height: 36px;
    min-width: unset;
    /* Allow small buttons to be fluid or smaller */
    padding: 0 16px;
}

.btn-primary-custom:hover {
    background-color: #0b5ed7;
    border-color: #0a58ca;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.form-control-custom {
    background-color: #fff;
    border: 1px solid #ced4da;
    color: #212529;
    border-radius: 8px;
    padding: 12px 16px;
}

.form-control-custom:focus {
    background-color: #fff;
    border-color: #86b7fe;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
    color: #212529;
}

/* Animations */
.fade-in-up {
    animation: fadeInUp 0.5s ease-out forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hover-scale {
    transition: transform 0.2s, box-shadow 0.2s;
}

.hover-scale:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.08);
}

/* Feature Cards */
.feature-card {
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

/* Editor Override */
.ck-editor__editable {
    min-height: 400px;
    border-bottom-left-radius: 8px !important;
    border-bottom-right-radius: 8px !important;
}

/* Stats */
.stat-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* Sidebar */
.sidebar {
    height: 100vh;
    background: #fff;
    border-right: 1px solid var(--border-color);
    position: fixed;
    top: 0;
    left: 0;
    width: 260px;
    padding: 2rem 1rem;
    z-index: 900;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.01);
}

.main-content {
    margin-left: 260px;
    padding: 2rem;
}

.nav-link-custom {
    color: #495057;
    padding: 0.8rem 1rem;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 0.5rem;
    transition: all 0.2s;
    font-weight: 500;
    text-decoration: none;
}

.nav-link-custom:hover,
.nav-link-custom.active {
    background: #e9ecef;
    color: var(--primary-color);
}

/* Misc */
.text-white-force {
    color: #fff !important;
}

/* Fix Dropdown Visibility */
.dropdown-menu {
    background-color: #ffffff !important;
    border: 1px solid var(--border-color) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
    padding: 0.5rem 0;
    border-radius: 12px;
}

.dropdown-item {
    color: #212529 !important;
    /* Force dark text */
    padding: 8px 20px;
    font-weight: 500;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background-color: #f8f9fa !important;
    color: var(--primary-color) !important;
}

.dropdown-item.text-danger {
    color: #dc3545 !important;
}

.dropdown-item.text-danger:hover {
    background-color: #ffe6e6 !important;
    color: #dc3545 !important;
}

.dropdown-divider {
    border-top: 1px solid var(--border-color);
}