/* public/css/style.css */

/* Global Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.animate-slideUp {
    animation: slideUp 0.5s ease-out;
}

.step {
    animation: slideUp 0.4s ease-out;
}

/* Form Focus Styles */
input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Button Active State */
button:active {
    transform: scale(0.98);
}

/* Smooth Transitions */
button,
input,
textarea,
select {
    transition: all 0.2s ease-in-out;
}

/* Hover Effects */
button:hover:not(:disabled) {
    transform: translateY(-1px);
}

/* Disabled State */
button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Table Styling */
table {
    border-collapse: collapse;
}

tbody tr {
    border-bottom: 1px solid #e2e8f0;
    transition: background-color 0.2s ease;
}

tbody tr:hover {
    background-color: #f8fafc;
}

/* Badge Styling */
.badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #2563eb;
    color: white;
    font-size: 10px;
    padding: 4px 6px;
    border-radius: 9999px;
}

/* Loading State */
@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.animate-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Cards */
.card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
}

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

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 600;
    letter-spacing: -0.5px;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Print Styles */
@media print {
    .no-print {
        display: none !important;
    }

    body {
        background: white;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hidden\.md\:block {
        display: none;
    }
}