:root {
    --primary-color: #FF6B00;
    --primary-dark: #e55a00;
    --primary-light: #ff8533;
    --sidebar-bg: #f8f9fa;
    --sidebar-hover: #e9ecef;
}

/* Logo and Branding */
.navbar-brand img {
    height: 40px;
}

.logo-text {
    font-weight: bold;
    font-size: 1.2rem;
}

/* Primary Colors */
.bg-primary-custom {
    background-color: var(--primary-color) !important;
}

.btn-primary-custom {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.btn-primary-custom:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    color: white;
}

.btn-primary-custom:focus {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    box-shadow: 0 0 0 0.2rem rgba(255, 107, 0, 0.25);
}

.text-primary-custom {
    color: var(--primary-color) !important;
}

/* Sidebar Styling */
.sidebar {
    min-height: calc(100vh - 56px);
    background-color: var(--sidebar-bg);
    border-right: 1px solid #dee2e6;
}

.sidebar .nav-link {
    color: #495057;
    padding: 0.75rem 1rem;
    margin: 0.25rem 0.5rem;
    border-radius: 0.375rem;
    transition: all 0.3s ease;
    font-weight: 500;
}

.sidebar .nav-link:hover {
    background-color: var(--sidebar-hover);
    color: var(--primary-dark);
    transform: translateX(2px);
}

.sidebar .nav-link.active {
    background-color: var(--primary-color);
    color: white !important;
    box-shadow: 0 2px 4px rgba(255, 107, 0, 0.2);
}

.sidebar .nav-link i {
    width: 20px;
    margin-right: 0.5rem;
}

/* Cards and Components */
.card-stats {
    border-left: 4px solid var(--primary-color);
    transition: transform 0.2s ease;
}

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

.application-card, .job-card {
    transition: transform 0.2s ease;
    border-left: 4px solid var(--primary-color);
}

.application-card:hover, .job-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.billing-card {
    border-left: 4px solid var(--primary-color);
}

/* Profile Components */
.profile-img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border: 3px solid var(--primary-color);
}

.profile-img-small {
    width: 80px;
    height: 80px;
    object-fit: cover;
}

.experience-item, .education-item {
    border-left: 3px solid var(--primary-color);
    padding-left: 15px;
    margin-bottom: 20px;
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 0 8px 8px 0;
}

/* CV and File Components */
.cv-download {
    border: 2px dashed var(--primary-color);
    padding: 20px;
    text-align: center;
    border-radius: 8px;
    background-color: #fff5f0;
    transition: all 0.3s ease;
}

.cv-download:hover {
    background-color: #ffe8d6;
    border-color: var(--primary-dark);
}

/* Status Badges */
.status-badge {
    font-size: 0.8rem;
}

.salary-badge {
    background-color: var(--primary-light);
    color: white;
}

/* Filter Section */
.filter-section {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    border: 1px solid #dee2e6;
}

/* Payment Methods */
.payment-method {
    border: 2px solid #eee;
    border-radius: 8px;
    padding: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.payment-method:hover {
    border-color: var(--primary-color);
    background-color: #fff5f0;
}

.payment-method.selected {
    border-color: var(--primary-color);
    background-color: #fff5f0;
}

/* Invoice Items */
.invoice-item {
    border-bottom: 1px solid #eee;
    padding: 15px 0;
    transition: background-color 0.3s ease;
}

.invoice-item:last-child {
    border-bottom: none;
}

.invoice-item:hover {
    background-color: #f8f9fa;
    border-radius: 8px;
    margin: 0 -15px;
    padding: 15px;
}

/* Progress Bars */
.progress {
    height: 8px;
    border-radius: 4px;
}

.progress-bar {
    background-color: var(--primary-color);
}

/* Alerts */
.alert-primary-custom {
    color: #8b4513;
    background-color: #fff5f0;
    border-color: var(--primary-light);
}

/* Tables */
.table-hover tbody tr:hover {
    background-color: #fff5f0;
}

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

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

/* Modal Enhancements */
.modal-header {
    border-bottom: 2px solid var(--primary-color);
}

.modal-title {
    color: var(--primary-color);
    font-weight: 600;
}

/* Dashboard Specific */
.dashboard-widget {
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.dashboard-widget:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
}

.activity-item {
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.activity-item:hover {
    background-color: #f8f9fa;
    border-radius: 8px;
    margin: 0 -15px;
    padding: 12px 15px;
}

.activity-item:last-child {
    border-bottom: none;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .sidebar {
        border-right: none;
        border-bottom: 1px solid #dee2e6;
    }
    
    .profile-img {
        width: 120px;
        height: 120px;
    }
    
    .dashboard-widget {
        margin-bottom: 1rem;
    }
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.slide-in {
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from { transform: translateX(-20px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.spinner-border-sm {
    width: 1rem;
    height: 1rem;
}

/* Custom Scrollbar */
.custom-scrollbar {
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) #f1f1f1;
}

.custom-scrollbar::-webkit-scrollbar {
    width: 6px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

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

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}