/* mejobme Custom Styles */

/* Nav Link Underline Animation */
.nav-link {
    position: relative;
    transition: color 0.2s ease;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #FF6A00;
    transition: width 0.3s ease;
}
.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Hamburger Lines */
.hamburger-line {
    display: block;
    width: 24px;
    height: 2px;
    background-color: #0B2E63;
    border-radius: 9999px;
    transition: all 0.3s ease;
}
.hamburger-line:nth-child(2) {
    width: 18px;
    margin-left: auto;
    margin-right: auto;
}
.hamburger.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: translateX(10px);
}
.hamburger.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Fade In Up Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.animate-fadeInUp {
    animation: fadeInUp 0.5s ease-out forwards;
}

/* Animation Delays */
.animate-delay-1 {
    animation-delay: 0.1s;
}
.animate-delay-2 {
    animation-delay: 0.2s;
}
.animate-delay-3 {
    animation-delay: 0.3s;
}
.animate-delay-4 {
    animation-delay: 0.4s;
}

/* Pill Button */
.pill-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s ease;
}
.pill-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Job Card Hover */
.job-card {
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
}
.job-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
    border-color: #FF6A00;
}

/* Search Input */
.search-input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.75rem;
    border: 2px solid #e5e7eb;
    border-radius: 0.75rem;
    font-family: 'Prompt', sans-serif;
    transition: all 0.2s ease;
    background-color: white;
}
.search-input:focus {
    outline: none;
    border-color: #0B2E63;
    box-shadow: 0 0 0 3px rgba(11, 46, 99, 0.1);
}

/* Login Input */
.login-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 0.75rem;
    font-family: 'Prompt', sans-serif;
    transition: all 0.2s ease;
    background-color: white;
}
.login-input:focus {
    outline: none;
    border-color: #0B2E63;
    box-shadow: 0 0 0 3px rgba(11, 46, 99, 0.1);
}

/* Register Input */
.register-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 0.75rem;
    font-family: 'Prompt', sans-serif;
    transition: all 0.2s ease;
    background-color: white;
}
.register-input:focus {
    outline: none;
    border-color: #0B2E63;
    box-shadow: 0 0 0 3px rgba(11, 46, 99, 0.1);
}

/* General Input Field */
.input-field {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 0.75rem;
    font-family: 'Prompt', sans-serif;
    transition: all 0.2s ease;
    background-color: white;
}
.input-field:focus {
    outline: none;
    border-color: #0B2E63;
    box-shadow: 0 0 0 3px rgba(11, 46, 99, 0.1);
}

/* Drop Zone */
.drop-zone {
    border: 2px dashed #d1d5db;
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    background-color: #f9fafb;
}
.drop-zone:hover {
    border-color: #0B2E63;
    background-color: #f0f4ff;
}
.drop-zone.dragging {
    border-color: #FF6A00;
    background-color: #fff7ed;
    transform: scale(1.02);
}

/* Password Strength Bar */
.strength-bar {
    height: 4px;
    border-radius: 9999px;
    transition: all 0.3s ease;
}
.strength-0 {
    width: 0%;
    background-color: #e5e7eb;
}
.strength-1 {
    width: 20%;
    background-color: #ef4444;
}
.strength-2 {
    width: 40%;
    background-color: #f97316;
}
.strength-3 {
    width: 60%;
    background-color: #eab308;
}
.strength-4 {
    width: 80%;
    background-color: #22c55e;
}
.strength-5 {
    width: 100%;
    background-color: #16a34a;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #a1a1a1;
}

/* Print Styles */
@media print {
    nav, footer, .no-print {
        display: none !important;
    }
    body {
        background: white !important;
        color: black !important;
    }
    .job-card {
        break-inside: avoid;
        border: 1px solid #ccc !important;
        box-shadow: none !important;
    }
}

/* Selection */
::selection {
    background-color: #0B2E63;
    color: white;
}

/* Focus Visible for Accessibility */
:focus-visible {
    outline: 2px solid #FF6A00;
    outline-offset: 2px;
}
