﻿.field-group {
    margin-bottom: 10px;
}

.responsive-box {
    padding-top: 15px;
    min-height: 310px;
    border: 2px solid var(--border-color);
    box-sizing: border-box;
    background: var(--background-color);
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.modal-content {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    width: 350px;
    text-align: center;
}

/* STANDARD MODE */
.standard label {
    display: block;
    margin-bottom: 6px;
}

/* FLOATING MODE */
.floating {
    position: relative;
}

    .floating input {
        padding-top: 1.4rem;
    }

    .floating label {
        position: absolute;
        left: 12px;
        top: 30%;
        transform: translateY(-50%);
        color: #999;
        pointer-events: none;
        transition: all 0.2s ease;
    }

    /* Float when focused */
    .floating input:focus + label {
        top: 6px;
        font-size: 12px;
        transform: none;
        color: #666;
    }

    /* Float when has value */
    .floating input.has-value + label {
        top: 6px;
        font-size: 12px;
        transform: none;
    }

    /* Float when invalid */
    .floating input.is-invalid + label {
        top: 6px;
        font-size: 12px;
        transform: none;
    }
