/* Admin Portal Custom Styles */

/* General */
body {
    font-family: 'Inter', sans-serif;
    background-color: #f8f9fa;
}

/* Dashboard Cards */
.border-left-primary {
    border-left: 0.25rem solid #4e73df !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;
}

.text-gray-300 {
    color: #dddfeb !important;
}

.text-gray-800 {
    color: #5a5c69 !important;
}

/* Admin Layout */
.admin-page {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 250px;
    display: flex;
    flex-direction: column;
    transition: all 0.3s;
    position: fixed;
    height: 100vh;
    z-index: 1000;
}

.sidebar-menu {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.sidebar-link {
    color: rgba(255, 255, 255, 0.8);
    padding: 0.75rem 1rem;
    text-decoration: none;
    transition: all 0.2s;
    border-left: 3px solid transparent;
}

.sidebar-link:hover, .sidebar-link.active {
    color: #fff;
    background-color: rgba(255, 255, 255, 0.1);
    border-left-color: var(--bs-primary);
}

.admin-content {
    flex: 1;
    margin-left: 250px;
    transition: all 0.3s;
}

.admin-header {
    height: 60px;
}

.admin-main {
    min-height: calc(100vh - 60px);
    background-color: #f8f9fa;
}

@media (max-width: 767.98px) {
    .sidebar {
        margin-left: -250px;
    }

    .sidebar.show {
        margin-left: 0;
    }

    .admin-content {
        margin-left: 0;
    }
}

/* Tables */
.table-hover tbody tr:hover {
    background-color: rgba(78, 115, 223, 0.05);
}

/* Forms */
.form-control:focus, .form-select:focus {
    border-color: #bac8f3;
    box-shadow: 0 0 0 0.25rem rgba(78, 115, 223, 0.25);
}

/* Star Rating */
.star-rating {
    cursor: pointer;
    font-size: 1.5rem;
    margin-right: 5px;
    color: #ccc;
}

.star-rating.active {
    color: #ffc107;
}

/* Rich Text Editor */
.ql-container {
    min-height: 300px;
}

.ql-toolbar {
    background-color: #f8f9fa;
    border-top-left-radius: 0.25rem;
    border-top-right-radius: 0.25rem;
}

.ql-container {
    border-bottom-left-radius: 0.25rem;
    border-bottom-right-radius: 0.25rem;
}

/* Status Badges */
.badge {
    font-weight: 500;
    padding: 0.35em 0.65em;
}

/* Cards */
.card {
    border: none;
    box-shadow: 0 0.15rem 1.75rem 0 rgba(58, 59, 69, 0.15);
    border-radius: 0.5rem;
}

.card-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid #e3e6f0;
    padding: 0.75rem 1.25rem;
}

/* Buttons */
.btn-group .btn {
    margin: 0 2px;
}

/* Modals */
.modal-content {
    border: none;
    border-radius: 0.5rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.modal-header {
    border-top-left-radius: 0.5rem;
    border-top-right-radius: 0.5rem;
    background-color: #f8f9fa;
}

.modal-footer {
    border-bottom-left-radius: 0.5rem;
    border-bottom-right-radius: 0.5rem;
}
