/* Form Field Floating Label Styles */
.floating-label {
    top: 1rem;
    font-size: 1rem;
    line-height: 1.5rem;
    color: #9ca3af;
}

/* Label moves up when field has value or is focused */
.form-input:focus~.floating-label,
.floating-label[data-has-value="true"],
.form-input:not(:placeholder-shown)~.floating-label {
    top: 0.5rem;
    font-size: 0.75rem;
    line-height: 1rem;
    color: #6b7280;
}

.form-input:focus~.floating-label {
    color: #3498DB;
}

/* Smooth animations for form groups */
.form-group {
    animation: slideIn 0.3s ease-out;
    margin-bottom: 1.5rem;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Input focus glow effect */
.form-input:focus {
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

/* Password toggle button styles */
.password-icon-hide,
.password-icon-show {
    transition: opacity 0.2s ease-in-out;
}

/* Form validation error styles */
.form-group .text-red-600 {
    animation: shake 0.3s ease-in-out;
}

@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-5px);
    }

    75% {
        transform: translateX(5px);
    }
}

/* Readonly field styling */
.form-input[readonly] {
    cursor: not-allowed;
    opacity: 0.7;
}

/* Form action button hover effects */
button[type="submit"] {
    position: relative;
    overflow: hidden;
}

button[type="submit"]::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

button[type="submit"]:hover::before {
    width: 300px;
    height: 300px;
}

/* FilePond Specific Styles - Compact Avatar Upload */
filepond-input {
    width: 250px;
}

.filepond--root {
    max-width: 250px !important;
    min-height: 250px !important;
    height: auto !important;
    margin: 0 auto;
    font-family: inherit;
}

.filepond--panel-root {
    background-color: #f8fafc;
    border: 2px dashed #cbd5e1;
    border-radius: 50%;
}

.filepond--drop-label {
    color: #64748b;
    font-size: 0.875rem;
    min-height: 250px !important;
}

.filepond--list-scroller {
    min-height: 250px !important;
}

/* Center the FilePond field */
#Form_ProfileForm_Avatar_Holder {
    text-align: center;
}

#Form_ProfileForm_Avatar_Holder .left {
    display: block;
    text-align: center;
    float: none;
    width: 100%;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #374151;
}

#Form_ProfileForm_Avatar_Holder .middleColumn {
    display: flex;
    justify-content: center;
    width: 100%;
}

#Form_ProfileForm_Avatar_Holder .description {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.75rem;
    color: #6b7280;
}