/* assets/css/style.css */

/* --- Animations --- */
.fade-in {
    animation: fadeIn 0.5s ease-out;
}

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

.slide-down {
    animation: slideDown 0.3s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

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

/* --- Wizard Progress Bar States (Standard CSS) --- */
/* Colors: Blue #002F5D, Gold #F5B316, Green #22c55e */

.step-active .step-circle {
    background-color: #F5B316;
    color: #002F5D;
    border-color: #F5B316;
}

.step-completed .step-circle {
    background-color: #22c55e;
    color: white;
    border-color: #22c55e;
}

.step-inactive .step-circle {
    background-color: #e5e7eb;
    color: #6b7280;
    border-color: #d1d5db;
}

.step-line {
    position: absolute;
    top: 1.25rem; /* top-5 */
    left: 0;
    height: 0.25rem; /* h-1 */
    background-color: #e5e7eb; /* bg-gray-200 */
    z-index: -10;
    width: 100%;
}

.step-line-fill {
    height: 100%;
    background-color: #22c55e; /* green-500 */
    transition: width 0.5s ease;
    width: 0%;
}

/* --- Navigation Active States --- */
.nav-active {
    color: #002F5D;
    font-weight: 700;
}

.nav-inactive {
    color: #4b5563;
    font-weight: 500;
}

.nav-inactive:hover {
    color: #002F5D;
}

/* --- Utilities --- */
.spinner {
    border: 3px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    border-top: 3px solid #002F5D;
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
    display: inline-block;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* --- Tag Input --- */
.tag-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0.5rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.25rem;
    background-color: white;
}
.tag-container:focus-within {
    border-color: transparent;
    box-shadow: 0 0 0 2px #F5B316;
}
.tag {
    background-color: #dbeafe; /* blue-100 */
    color: #1e40af; /* blue-800 */
    font-size: 0.875rem;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}
.tag i {
    cursor: pointer;
}
.tag-input {
    flex-grow: 1;
    background: transparent;
    outline: none;
    font-size: 0.875rem;
    min-width: 100px;
}