/* Responsive styles for dashboard cards and charts */
@media (max-width: 991px) {
    .dashboard-cards, .dashboard-charts {
        flex-direction: column;
        gap: 16px;
    }
    .dashboard-card, .dashboard-chart {
        min-width: 0;
    }
    .sidebar {
        margin-left: -300px;
        position: fixed;
        top: 0;
        left: 0;
        height: 100vh;
        z-index: 1050;
        border-radius: 0 18px 18px 0;
    }
    .sidebar.collapsed {
        margin-left: 0;
    }
    .main-content {
        margin-left: 0;
        padding: 24px 8px 8px 8px;
    }
}

.theme-main-menu .login-btn-one {
    font-weight: normal !important;
    font-size: 13.5px !important;
    color: #333 !important;
    padding: 0 0.5rem !important;
    margin: 0 0.25rem !important;
    background: none !important;
    border: none !important;
    border-radius: 0 !important;
    transition: color 0.2s !important;
    text-decoration: none !important;
}

.theme-main-menu .login-btn-one:hover {
    color: #000 !important;
    text-decoration: underline !important;
    background: none !important;
    box-shadow: none !important;
}

/* Remove extra space between list items */
.theme-main-menu ul.style-none > li {
    margin: 0 !important;
    padding: 0 !important;
}

/* Consistent spacing for all views */
.company-details {
    margin-top: 2rem !important;
    margin-bottom: 1rem !important;
}

/* Consistent card spacing */
.card, .bg-light.border.rounded {
    margin-bottom: 1rem !important;
}

/* Consistent section spacing */
section {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

/* Ensure consistent spacing in dashboard */
.dashboard-body {
    padding-top: 1rem;
}

/* Course page specific spacing */
.Home-CoursePage .company-details {
    margin-top: -2rem !important;
}

/* Profile page specific spacing */
.Dashboard-Profile .company-details {
    margin-top: 3rem !important;
}

/* Result page specific spacing */
.Dashboard-Result .company-details {
    margin-top: 3rem !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .Home-CoursePage .company-details {
        margin-top: -1rem !important;
    }
    
    .Dashboard-Profile .company-details,
    .Dashboard-Result .company-details {
        margin-top: 2rem !important;
    }
}

/* Mobile-specific adjustments */
@media (max-width: 576px) {
    .dashboard-body .company-details {
        margin-top: 1.5rem !important;
        margin-bottom: 0.5rem !important;
    }
    
    section {
        padding-top: 0.5rem;
        padding-bottom: 0.5rem;
    }
    
    .bg-light.border.rounded {
        margin-bottom: 1rem !important;
    }
}

.d-flex.align-items-center.style-none > a,
.d-flex.justify-content-end > a {
    color: #666 !important;
    text-decoration: none !important;
}
.d-flex.align-items-center.style-none > a:hover,
.d-flex.justify-content-end > a:hover {
    color: #333 !important;
    text-decoration: none !important;
}

/* Dashboard header navigation responsive styles */
.dashboard-header-nav {
    flex-wrap: wrap;
    gap: 0.25rem;
}

.dashboard-header-nav > a {
    white-space: nowrap;
    padding: 0.25rem 0;
}

/* Mobile responsive adjustments for header navigation */
@media (max-width: 768px) {
    .dashboard-header-nav {
        font-size: 12px;
        gap: 0.5rem;
    }
    
    .dashboard-header-nav > a {
        padding: 0.25rem 0;
    }
}

@media (max-width: 576px) {
    .dashboard-header-nav {
        font-size: 11px;
        gap: 0.25rem;
    }
    
    .right-widget {
        font-size: 11px !important;
    }
    
    .dashboard-header-nav > a {
        padding: 0.2rem 0;
    }
}

/* Jobs Header Link Styles */
.jobs-header-link {
    display: flex;
    align-items: center;
    padding: 0.5rem 1rem;
    font-size: 12px;
    color: #212529;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.jobs-header-link:hover {
    background-color: #f8f9fa;
    color: #212529;
    text-decoration: none;
}

.jobs-header-link:focus {
    outline: none;
    color: #212529;
}

.jobs-header-link i {
    width: 20px;
    text-align: center;
    color: #6c757d;
}

/* User Avatar Dropdown Styles */
.user-avatar-dropdown {
    position: relative;
}

.user-avatar-btn {
    background: none !important;
    border: none !important;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
    outline: none !important;
    box-shadow: none !important;
}

.user-avatar-btn:hover {
    transform: scale(1.05);
    outline: none !important;
    box-shadow: none !important;
}

.user-avatar-btn:focus {
    box-shadow: none !important;
    outline: none !important;
    border: none !important;
}

.user-avatar-btn:active {
    box-shadow: none !important;
    outline: none !important;
    border: none !important;
}

.user-avatar-btn:focus-visible {
    outline: none !important;
    box-shadow: none !important;
}

.user-avatar-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #6C757D;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: all 0.2s ease;
}

.user-avatar-btn:hover .user-avatar-circle {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transform: scale(1.05);
}

.user-dropdown-menu {
    min-width: 250px;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

.user-info-section {
    padding: 1rem 1rem 0.75rem 1rem !important;
    cursor: default;
    background-color: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
}

.user-info-section:hover {
    background-color: #f8f9fa;
}

.user-name {
    font-weight: 600;
    font-size: 13px;
    color: #212529;
    margin-bottom: 0.25rem;
    word-break: break-word;
}

.user-email {
    font-size: 11px;
    color: #6c757d;
    word-break: break-word;
}

.user-dropdown-menu .dropdown-item {
    padding: 0.5rem 1rem;
    font-size: 12px;
    color: #212529;
    transition: background-color 0.2s ease;
    display: flex;
    align-items: center;
}

.user-dropdown-menu .dropdown-item:hover {
    background-color: #f8f9fa;
    color: #212529;
}

.user-dropdown-menu .dropdown-item i {
    width: 20px;
    text-align: center;
    color: #6c757d;
}

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

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

.user-dropdown-menu .dropdown-item.text-danger i {
    color: #dc3545;
}

.user-dropdown-menu .dropdown-divider {
    margin: 0.5rem 0;
    border-top: 1px solid #e9ecef;
}

/* Mobile responsive adjustments for avatar */
@media (max-width: 768px) {
    .jobs-header-link {
        font-size: 12px;
        padding: 0.4rem 0.8rem;
    }
    
    .user-avatar-circle {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
    
    .user-dropdown-menu {
        min-width: 220px;
    }
}

@media (max-width: 576px) {
    .jobs-header-link {
        font-size: 13px;
        padding: 0.4rem 0.75rem;
    }
    
    .user-avatar-circle {
        width: 32px;
        height: 32px;
        font-size: 13px;
    }
    
    .user-dropdown-menu {
        min-width: 200px;
        font-size: 13px;
    }
    
    .user-name {
        font-size: 13px;
    }
    
    .user-email {
        font-size: 11px;
    }
} 