/* Baseline Mentoring Admin Dashboard Custom CSS */

/* Color Variables */
:root {
    --primary: #01231F;      /* Dark Teal */
    --secondary: #E9EBEA;    /* Light Gray */
    --accent: #75F6FD;       /* Bright Cyan */
    --text-light: #E9EBEA;
    --text-dark: #01231F;
    --success: #4CAF50;
    --warning: #FFC107;
    --danger: #F44336;
    --info: #2196F3;
}

/* Body and general styles */
body {
    background-color: var(--secondary);
    color: var(--text-dark);
}

/* Sidebar styles */
.sidebar {
    background-color: var(--primary);
}

.sidebar-header {
    border-color: rgba(255, 255, 255, 0.1);
}

.sidebar-link {
    color: var(--text-light);
}

.sidebar-link:hover, .sidebar-link.active {
    background-color: rgba(255, 255, 255, 0.1);
}

.sidebar-link.active {
    border-left: 3px solid var(--accent);
}

/* Logo styles */
.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 0;
}

.logo {
    width: 180px;
    height: auto;
}

/* Topbar styles */
.topbar {
    background-color: white;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

/* User profile styles */
.profile-image {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover; /* Prevent image stretching */
    background-color: var(--primary);
}

.user-table-profile {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

/* Button styles */
.btn-primary {
    background-color: var(--primary);
    color: var(--text-light);
}

.btn-primary:hover {
    background-color: #043832;
}

.btn-accent {
    background-color: var(--accent);
    color: var(--primary);
}

.btn-accent:hover {
    background-color: #5bd8e0;
}

/* Card styles */
.card {
    background-color: white;
    border-radius: 0.5rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.card-header {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

/* Table styles */
.table-header {
    background-color: rgba(1, 35, 31, 0.05);
}

.table-row:hover {
    background-color: rgba(117, 246, 253, 0.1);
}

/* Form styles */
.form-control:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 0.2rem rgba(117, 246, 253, 0.25);
}

/* Badge styles */
.badge-primary {
    background-color: var(--primary);
    color: var(--text-light);
}

.badge-accent {
    background-color: var(--accent);
    color: var(--primary);
}

/* Animation for sidebar */
.sidebar-transition {
    transition: transform 0.3s ease-in-out;
}

/* Mobile menu button */
.menu-button {
    background-color: var(--accent);
    color: var(--primary);
    border: none;
    border-radius: 0.25rem;
    padding: 0.5rem;
    cursor: pointer;
}

.menu-button:hover {
    background-color: #5bd8e0;
}

/* User profile image in modal */
.user-profile-image {
    width: 128px;
    height: 128px;
    border-radius: 50%;
    object-fit: cover;
}

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

::-webkit-scrollbar-track {
    background: var(--secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 3px;
}

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

/* Modal styles */
.modal-backdrop {
    background-color: rgba(1, 35, 31, 0.5);
}

/* User type toggle styles */
.user-type-toggle {
    display: inline-flex;
    overflow: hidden;
    border-radius: 0.375rem;
    border: 1px solid var(--primary);
}

.user-type-toggle label {
    background-color: white;
    color: var(--primary);
    padding: 0.5rem 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.user-type-toggle label:hover {
    background-color: rgba(1, 35, 31, 0.05);
}

.user-type-toggle input:checked + label {
    background-color: var(--primary);
    color: white;
}

/* Logout confirmation dialog */
.logout-confirm {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
} 