/* Custom Job Platform UI Styles */

:root {
    --primary-color: #4F46E5;
    --secondary-color: #1bffff;
    --accent-color: #f39c12;
    --bg-light: #f8f9fa;
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    --glass-bg: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(255, 255, 255, 0.2);
}

body {
    background-color: #f0f2f9;
    font-family: 'Outfit', sans-serif;
    color: #333;
}

/* Glassmorphism Effect */
.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
}

/* Dashboard Wrapper */
.page-wrapper:not(.boxed_wrapper) {
    padding: 15px 0 200px; /* Refined for better balance */
}

/* Card Styling */
.card {
    border: none;
    border-radius: 20px;
    box-shadow: var(--card-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    background: white;
}

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

/* Side Menu Styling */
.user-sidebar {
    background: white;
    border-radius: 20px;
    padding: 20px;
    position: sticky;
    top: 100px;
}

.user-sidebar-header {
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.user-sidebar-body ul {
    padding: 0;
    list-style: none;
}

.user-sidebar-body ul li a {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    color: #555;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s ease;
    font-weight: 500;
    margin-bottom: 8px;
}

.user-sidebar-body ul li a i {
    font-size: 20px;
    margin-right: 15px;
    color: #888;
    transition: all 0.3s ease;
}

.user-sidebar-body ul li a:hover, 
.user-sidebar-body ul li a.active {
    background: linear-gradient(90deg, var(--primary-color) 0%, #4a4ed4 100%);
    color: white;
}

.user-sidebar-body ul li a:hover i, 
.user-sidebar-body ul li a.active i {
    color: white;
}

/* Stat Widgets */
.dash-widget {
    padding: 20px;
    position: relative;
    z-index: 1;
}

.dash-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 15px;
}

.bg-primary-transparent { background: rgba(46, 49, 146, 0.1); color: var(--primary-color); }
.bg-warning-transparent { background: rgba(243, 156, 18, 0.1); color: var(--accent-color); }
.bg-info-transparent { background: rgba(52, 152, 219, 0.1); color: #3498db; }
.bg-success-transparent { background: rgba(46, 204, 113, 0.1); color: #2ecc71; }

/* Job Application List */
.application-card {
    border-left: 5px solid transparent;
    transition: all 0.3s ease;
}

.application-card:hover {
    border-left-color: var(--primary-color);
}

.application-ref {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 14px;
}

.badge {
    padding: 8px 16px;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 10px;
    letter-spacing: 0.5px;
}

.badge-success { background: #e8f5e9; color: #2e7d32; }
.badge-warning { background: #fff3e0; color: #ef6c00; }
.badge-info { background: #e3f2fd; color: #1565c0; }

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, #6a11cb 100%);
    border: none;
    padding: 12px 28px;
    border-radius: 14px;
    font-weight: 700;
    letter-spacing: 0.5px;
    box-shadow: 0 10px 20px rgba(46, 49, 146, 0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 30px rgba(46, 49, 146, 0.3);
}

/* Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in-up {
    animation: fadeInUp 0.5s ease forwards;
}

/* Google Translate Layout Fixes */
.goog-te-banner-frame.skiptranslate, .goog-te-gadget-icon {
    display: none !important;
}
body {
    top: 0px !important;
    position: static !important;
}
.goog-te-gadget-simple {
    background-color: transparent !important;
    border: none !important;
    font-family: 'Outfit', sans-serif !important;
}
iframe.goog-te-menu-frame {
    z-index: 99999999 !important;
}

/* Hero Banner Padding Fix */
.avant-hero-banner-blue {
    padding: 120px 0 80px !important;
}

.translate-header {
    display: flex;
    align-items: center;
}

.translate-header #google_translate_element {
    padding-top: 5px;
}
