/* Application Dropdown Styles */
.nav-actions {
    position: relative;
    display: flex;
    align-items: center;
    gap: 15px;
}

.application-dropdown {
    position: relative;
    display: inline-block;
}

.btn-apply {
    background: linear-gradient(45deg, #3498db, #2980b9);
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    white-space: nowrap;
}

.btn-apply:hover {
    background: linear-gradient(45deg, #2980b9, #21618c);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.3);
    color: white;
    text-decoration: none;
}

.dropdown-trigger {
    position: relative;
}

.dropdown-arrow {
    font-size: 12px;
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.application-dropdown.active .dropdown-arrow {
    transform: rotate(180deg);
}

.application-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    min-width: 250px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    border: 1px solid #e9ecef;
    overflow: hidden;
    margin-top: 8px;
}

.application-dropdown.active .application-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    color: #2c3e50;
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid #f8f9fa;
    font-weight: 500;
}

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

.dropdown-item:hover {
    background: linear-gradient(45deg, #f8f9fa, #e9ecef);
    color: #3498db;
    text-decoration: none;
    transform: translateX(5px);
}

.dropdown-item i {
    font-size: 16px;
    width: 20px;
    text-align: center;
    color: #3498db;
}

.dropdown-item:hover i {
    color: #2980b9;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .application-dropdown-menu {
        right: -20px;
        left: -20px;
        min-width: auto;
    }
    
    .btn-apply span {
        display: none;
    }
    
    .btn-apply {
        padding: 10px 15px;
        border-radius: 50%;
        width: 50px;
        height: 50px;
        justify-content: center;
    }
    
    .dropdown-arrow {
        display: none;
    }
}

/* Animation for dropdown items */
.dropdown-item {
    opacity: 0;
    animation: slideInDown 0.3s ease forwards;
}

.dropdown-item:nth-child(1) {
    animation-delay: 0.1s;
}

.dropdown-item:nth-child(2) {
    animation-delay: 0.2s;
}

.dropdown-item:nth-child(3) {
    animation-delay: 0.3s;
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.application-dropdown.active .dropdown-item {
    animation: slideInDown 0.3s ease forwards;
}

/* Overlay for mobile */
.dropdown-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.dropdown-overlay.active {
    opacity: 1;
    visibility: visible;
}