/* Input groups, labels, info buttons, text inputs and the select field */

.form-container {
    padding: 60px 40px 30px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.input-label {
    color: #f1f5f9;
    font-size: 1rem;
    font-weight: 400;
    margin-bottom: 8px;
    padding-left: 15px;
    opacity: 0.85;
    display: flex;
    align-items: center;
    gap: 8px;
}

.info-button {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: rgba(59, 130, 246, 0.2);
    border: 1px solid rgba(59, 130, 246, 0.4);
    color: #60a5fa;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    flex-shrink: 0;
    padding: 0;
    margin: 0;
    outline: none;
}

.info-button:hover {
    background: rgba(59, 130, 246, 0.3);
    border-color: rgba(59, 130, 246, 0.6);
    transform: scale(1.1);
}

.input-wrapper {
    position: relative;
}

.input-field {
    width: 100%;
    padding: 26px 40px;
    padding-right: 4rem;
    background: rgba(15, 23, 42, 0.8);
    border: none;
    border-radius: 18px;
    color: #f1f5f9;
    font-size: 0.9rem;
    outline: none;
    transition: all 0.3s ease;
    -moz-appearance: textfield;
    font-weight: 400;
}

.input-field::-webkit-outer-spin-button,
.input-field::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.input-field::placeholder {
    color: #94a3b8;
    opacity: 0.5;
}

.input-field:focus {
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.4), 0 0 20px rgba(37, 99, 235, 0.3);
    background: rgba(15, 23, 42, 0.9);
}

.input-suffix {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 0.9rem;
    pointer-events: none;
}

.enlarged-suffix {
    font-size: 1.1rem;
}

.select-field {
    width: 100%;
    padding: 26px 40px;
    background: rgba(15, 23, 42, 0.8);
    border: none;
    border-radius: 18px;
    color: #f1f5f9;
    font-size: 0.9rem;
    font-family: 'Poppins', sans-serif;
    outline: none;
    transition: all 0.3s ease;
    appearance: none;
    cursor: pointer;
}

.select-field:focus {
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.4), 0 0 20px rgba(37, 99, 235, 0.3);
    background: rgba(15, 23, 42, 0.9);
}

.select-field option {
    background: #1e293b;
    color: #f1f5f9;
}

.native-select-hidden {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    width: 0;
    height: 0;
}

.frequency-wrapper {
    position: relative;
}

.frequency-select-button {
    width: 100%;
    padding: 26px 40px;
    background: rgba(15, 23, 42, 0.8);
    border: none;
    border-radius: 18px;
    color: rgba(148, 163, 184, 0.5);
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    outline: none;
    transition: all 0.3s ease;
}

.frequency-select-button:hover,
.frequency-select-button.open {
    background: rgba(15, 23, 42, 0.92);
}

.frequency-select-button.open {
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.4), 0 0 20px rgba(37, 99, 235, 0.3);
}

.frequency-select-button svg {
    width: 18px;
    height: 18px;
    color: #60a5fa;
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.frequency-select-button.open svg {
    transform: rotate(180deg);
}

.frequency-select-menu {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 8px);
    background: rgba(15, 23, 42, 0.98);
    border: 1px solid rgba(96, 165, 250, 0.24);
    border-radius: 16px;
    padding: 6px;
    z-index: 50;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.36), 0 0 20px rgba(37, 99, 235, 0.12);
    backdrop-filter: blur(14px);
}

.frequency-option {
    width: 100%;
    border: none;
    background: transparent;
    color: #cbd5e1;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    text-align: left;
    padding: 12px 16px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.frequency-option:hover,
.frequency-option.selected {
    color: #f8fafc;
    background: rgba(59, 130, 246, 0.18);
}

.frequency-option.selected {
    box-shadow: inset 0 0 0 1px rgba(96, 165, 250, 0.22);
}

@media (hover: none) {
    .input-field:focus,
    .select-field:focus,
    .frequency-select-button.open {
        box-shadow: none;
    }
}

@media (min-width: 601px) {
    .form-container {
        padding: 36px 40px 20px;
        gap: 12px;
    }

    .input-group {
        gap: 4px;
    }

    .input-label {
        margin-bottom: 4px;
    }

    .input-field,
    .select-field,
    .frequency-select-button {
        padding-top: 21px;
        padding-bottom: 21px;
    }
}
