﻿/* Validation summary box */
.validation-summary {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeeba;
    padding: 10px;
    border-radius: 6px;
    margin-bottom: 15px;
    animation: fadeIn 0.3s ease-in-out;
}

/* Validation message for individual fields */
.validation-message {
    color: #dc2626; /* Tailwind red-600 */
    font-size: 0.875rem;
    margin-top: 4px;
    display: block;
    animation: fadeIn 0.3s ease-in-out;
}

/* Fade-in animation for nicer appearance */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Input with validation error */
.input-validation-error {
    border: 1px solid #dc2626 !important;
    background-color: #fef2f2; /* light red background */
}


.drop-zone-active {
    border: 3px dashed #3b82f6 !important;
    background-color: rgba(59, 130, 246, 0.05);
    position: relative;
}

    .drop-zone-active::after {
        content: "Drop photos to upload";
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        font-weight: bold;
        color: #3b82f6;
        pointer-events: none;
        font-size: 1.2rem;
        z-index: 10;
    }

    /* Dim the existing images slightly during drag */
    .drop-zone-active .handle {
        opacity: 0.3;
    }

.fa-star {
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275), color 0.2s;
}

    .fa-star:hover {
        color: #fbbf24; /* Tailwind yellow-400 */
    }

/* Animation for the row when added */
.animate-fade-in {
    animation: fadeIn 0.4s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}