.sidebar {
    min-height: 100vh;
    background: white;
}

.sidebar .nav-link {
    color: #2D3436;
    padding: 0.8rem 1rem;
    transition: all 0.3s;
    margin-bottom: 10px;
}

.sidebar .nav-link:hover,
.sidebar .nav-link.active {
    background: #14C47D;
    padding-left: 1.5rem;
    color: white;
    border-radius: 8px;
}

.sidebar .nav-link i {
    color: #2D3436;
}

.sidebar .nav-link:hover i,
.sidebar .nav-link.active i {
    color: white;
}

.main-content {
    background: #f8f9fa;
}

.card {
    border: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.2s;
}

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

.table-responsive {
    border-radius: 8px;
    overflow: hidden;
}

.btn-custom {
    padding: 0.5rem 1.5rem;
    border-radius: 8px;
    margin: 10px;
}

/* Admin styles */
.upload-zone {
    border: 2px dashed #3498db;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
}

.upload-zone:hover {
    background: #f8f9fa;
    border-color: #2980b9;
}

.stats-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bg-gradient {
    background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0) 100%);
}

.card-title {
    color: #2c3e50;
}

.text-muted {
    color: #6c757d !important;
}

/* Home styles */
.hero-section {
    background-color: #ffffff;
    padding: 6rem 0;
    position: relative;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
}

.highlight {
    color: #269781;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #666666;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
}
.alert-info {
    background-color: #F9FFFC;
    border-left: 4px solid #3498db;
    border-radius: 4px;
    padding: 1.5rem;
    color: #6b7c93;
}


.alert-info ol {
    padding-left: 1.2rem;
    counter-reset: item;
}

.alert-info li {
    line-height: 1.6;
    position: relative;
    padding-left: 0.5rem;
    color: #842029;
}

/* Form styles */
.form-control:focus {
    border-color: #3498db;
    box-shadow: 0 0 0 0.2rem rgba(52, 152, 219, 0.25);
}

/* Popup styles */
.popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1100;
    min-width: 300px;
}

.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 1050;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translate(-50%, -60%); }
    to { opacity: 1; transform: translate(-50%, -50%); }
}

.popup.show {
    display: block;
    animation: fadeIn 0.3s ease-out forwards;
}

/* Users page */
.users-table {
    max-height: 600px;
    overflow-y: auto;
}

.table-container {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.user-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.user-avatar {
    width: 80px;
    height: 80px;
    background: #e9ecef;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Profile styles */
.profile-header {
    background: white;
    color: #2D3436;
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.profile-header-content {
    max-width: 1200px;
    margin: 0 auto;
}

.profile-avatar {
    width: 80px;
    height: 80px;
    background: #f8f9fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-avatar i {
    font-size: 2.5rem;
    color: #6c757d;
}

.profile-stats {
    margin-top: 1rem;
}

.stat-card {
    border-radius: 10px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
    color: white;
}

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

.green-card {
    background: #14C47D;
}

.blue-card {
    background: #1733E8;
}

.orange-card {
    background: #FF7F30;
}

.stat-icon {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.stat-info {
    flex: 1;
}

.stat-label {
    margin: 0;
    font-size: 0.85rem;
    opacity: 0.8;
    color: rgba(255, 255, 255, 0.9);
}

.stat-value {
    margin: 0;
    font-weight: 600;
    font-size: 1.1rem;
    color: white;
}

/* Login page styles */
body {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 100vh;
}

.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 10;
}

.navbar-brand img {
    height: 40px;
}

.login-container {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.login-card {
    background: white;
    border-radius: 15px;
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.login-header {
    background: #14C47D;
    padding: 2rem;
    color: white;
    text-align: center;
}

.login-header img {
    width: 80px;
    margin-bottom: 1rem;
}

.login-body {
    padding: 2rem;
}

.form-control {
    border-radius: 8px;
    border: 1px solid #dee2e6;
    transition: all 0.3s ease;
    height: 42px;
}

.form-control:focus {
    border-color: #3498db;
    box-shadow: 0 0 0 0.2rem rgba(52, 152, 219, 0.25);
}

.form-label {
    font-weight: 500;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.input-group-text {
    background: transparent;
    border-right: none;
}


.btn-primary {
    
    border: none;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s ease;
    background-color: #1733E8;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

.social-login {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #dee2e6;
}

.social-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 0.5rem;
    color: white;
    transition: all 0.3s ease;
}

.social-btn:hover {
    transform: translateY(-3px);
}


.flash-message {
    border-radius: 8px;
    margin-bottom: 1rem;
    padding: 1rem;
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

.footer {
    text-align: center;
    padding: 2rem 0;
    color: #6c757d;
}

@media (max-width: 768px) {
    .login-container {
        margin-top: 1rem;
    }
    
    .login-card {
        border-radius: 0;
    }
}

/* Signup page styles */
.signup-container {
    margin: 2rem auto;
}

.signup-card {
    background: white;
    border-radius: 15px;
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.signup-header {
    background: #14C47D;
    padding: 2rem;
    color: white;
    text-align: center;
}

.signup-header img {
    width: 80px;
    margin-bottom: 1rem;
}

.signup-body {
    padding: 2rem;
}


.features-section {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.feature-card {
    text-align: center;
    padding: 1.5rem;
    border-radius: 10px;
    background: white;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 2rem;
    color: #1733E8;
    margin-bottom: 1rem;
}

/* Navbar and dropdown styles */
.dropdown-menu {
    z-index: 11;
    position: absolute; 
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.select2-container {
    width: 100% !important;
}

.select2-container .select2-selection--single {
    height: 38px;
    border: 1px solid #ced4da;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 38px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 36px;
}

/* the checkbox area */
.terms-section {
    background-color: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    border-left: 4px solid #0d6efd;
}

.btn-custom[disabled] {
    cursor: not-allowed;
    opacity: 0.3;
    position: relative;
}

#submitHelper {
    transition: all 0.3s ease;
    color: #6c757d;
}

.form-check {
    padding: 1rem;
    border-radius: 8px;
    background-color: #fafdff76;
    transition: all 0.3s ease;
}

.form-check:hover {
    background-color: #e9ecef;
}

.form-check-input:checked + .form-check-label {
    color: #113a78;
    font-weight: bold;
}

/* Add these styles */
.sidebar-bottom {
    position: fixed;
    bottom: 0;
    left: 0;
    width: inherit;
    max-width: inherit;
    padding: 1rem;
    background: white;
    border-top: 1px solid rgba(0,0,0,0.1);
}

.user-profile-mini {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.user-profile-mini:hover {
    background: #f8f9fa;
}

.user-avatar-mini {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #14C47D;
    display: flex;
    align-items: center;
    justify-content: center;
}

.user-avatar-mini i {
    color: white;
    font-size: 1.2rem;
}

.user-info {
    flex: 1;
}

.user-name {
    font-weight: 600;
    color: #2D3436;
    font-size: 0.9rem;
}

.user-role {
    color: #6c757d;
    font-size: 0.8rem;
}

.btn-primary:disabled {
    background-color: #464646;
    border-color: #6C757D;
    --bs-btn-disabled-bg: #6C757D;
    --bs-btn-disabled-border-color: #6C757D;
}

.icon-home {
    color: #1733E8;
}

.icon-home-bg {
    background-color: #1733E8;
}

.alert-info_not {
    background-color: #f9fffc;
    border-left: 4px solid #3498db;
    border-radius: 4px;
    padding: 0.5rem;
    color: #6b7c93;
}