/* Salary Converter Styles */

/* Theme Integration */
.salary-converter-section {
    background-color: #fff;
}

.salary-converter-section .btn-primary {
    background-color: #002B5C;
    border-color: #002B5C;
    transition: all 0.3s ease;
}

.salary-converter-section .btn-primary:hover {
    background-color: #001a3a;
    border-color: #001a3a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 43, 92, 0.3);
}

.salary-converter-section .btn-outline-success {
    color: #6dbfb8;
    border-color: #6dbfb8;
    transition: all 0.3s ease;
}

.salary-converter-section .btn-outline-success:hover {
    background-color: #6dbfb8;
    border-color: #6dbfb8;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(109, 191, 184, 0.3);
}

.salary-converter-section .card {
    border-radius: 12px;
    transition: all 0.3s ease;
}

.salary-converter-section .card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1) !important;
}

.salary-converter-section .form-control:focus,
.salary-converter-section .form-select:focus {
    border-color: #6dbfb8;
    box-shadow: 0 0 0 0.25rem rgba(109, 191, 184, 0.25);
}

.salary-converter-section .border-warning {
    border-left: 4px solid #ffc107 !important;
}

.salary-converter-section .border-success {
    border-left: 4px solid #6dbfb8 !important;
}

.salary-converter-section .cursor-pointer {
    cursor: pointer;
}

/* Animation for showing results */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-in {
    animation: fadeIn 0.3s ease-out;
}

/* Custom scrollbar for tables */
.overflow-x-auto::-webkit-scrollbar {
    height: 6px;
}

.overflow-x-auto::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.overflow-x-auto::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
}

.overflow-x-auto::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Responsive table */
@media (max-width: 768px) {
    table {
        font-size: 0.875rem;
    }
    
    th, td {
        padding: 0.5rem !important;
    }
}

/* Print styles */
@media print {
    .no-print {
        display: none !important;
    }
    
    body {
        background: white !important;
    }
    
    .shadow-sm,
    .shadow {
        box-shadow: none !important;
    }
}

