﻿/* wwwroot/css/moallem-parent.css */
.moallem-parent-page .floating-label-container {
    position: relative;
    margin-bottom: 1.2rem;
}

.moallem-parent-page .floating-label {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    padding: 0 4px;
    color: #666;
    transition: all 0.2s ease;
    pointer-events: none;
    font-size: 13px;
}

.moallem-parent-page .floating-label-container input:focus ~ .floating-label,
.moallem-parent-page .floating-label-container input:not(:placeholder-shown) ~ .floating-label,
.moallem-parent-page .floating-label-container .rz-dropdown:focus-within ~ .floating-label,
.moallem-parent-page .floating-label-container .has-value ~ .floating-label,
.moallem-parent-page .floating-label-container .rz-numeric:focus-within ~ .floating-label {
    top: 0;
    font-size: 11px;
    color: var(--rz-primary);
}

.moallem-parent-page .floating-label-container .rz-textbox,
.moallem-parent-page .floating-label-container .rz-dropdown,
.moallem-parent-page .floating-label-container .rz-numeric {
    width: 100%;
    height: 36px;
}

.moallem-parent-page .floating-label.required::after {
    content: " *";
    color: #dc3545;
}

.moallem-parent-page .validation-message {
    font-size: 11px;
    position: absolute;
    bottom: -18px;
    right: 4px;
}

.moallem-parent-page .branch-image-preview {
    height: 36px;
    border-radius: 4px;
    object-fit: cover;
    border: 1px solid #e2e8f0;
}
