﻿.validation-message {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: block;
    animation: fadeIn 0.3s ease-in-out;
}

.validation-summary {
    background-color: #fff5f5;
    border: 1px solid #feb2b2;
    border-radius: 0.375rem;
    padding: 1rem;
    margin-bottom: 1rem;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

::deep .validation-message {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: block;
    transition: all 0.3s ease-in-out;
    padding-left: 1.5rem;
    position: relative;
}

    ::deep .validation-message::before {
        content: "⚠";
        position: absolute;
        left: 0.25rem;
        top: 0;
    }

::deep .input-validation-error {
    border-color: #dc3545;
    padding-right: calc(1.5em + 0.75rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

::deep .form-group {
    margin-bottom: 1rem;
}

::deep .form-label {
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: #212529;
}

::deep .form-control {
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

    ::deep .form-control:focus {
        border-color: #86b7fe;
        box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
    }

::deep .validation-summary-errors {
    color: #842029;
    background-color: #f8d7da;
    border: 1px solid #f5c2c7;
    border-radius: 0.25rem;
    padding: 1rem;
    margin-bottom: 1rem;
}

    ::deep .validation-summary-errors ul {
        margin-bottom: 0;
        padding-left: 1.5rem;
    }

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

::deep .validation-message {
    animation: fadeIn 0.3s ease-in-out;
}