﻿/* phone input */

.mph-field {
    margin-bottom: 1.25rem;
}

.mph-label {
    display: inline-block;
    margin-bottom: 0.55rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #344767;
}

.mph-hint {
    display: block;
    margin-top: 0.45rem;
    font-size: 0.75rem;
    color: #6c757d;
}

.mph-shell {
    position: relative;
}

.mph-input {
    width: 100%;
    height: 50px;
    border-radius: 0.9rem;
    border: 1px solid #d7dee7;
    background: #fff;
    color: #344767;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 0.75rem 1rem;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04);
    transition: all 0.2s ease;
}

.mph-input:hover {
    border-color: var(--bs-secondary);
}

.mph-input:focus {
    border-color: var(--bs-primary);
    outline: none;
    box-shadow: 0 0 0 0.2rem rgba(0, 0, 0, 0.04);
}

.mph-shell.has-error .mph-input {
    border-color: #dc3545;
}

.iti {
    width: 100%;
}

.iti__tel-input {
    width: 100% !important;
}

.iti--separate-dial-code .mph-input {
    padding-left: 6.25rem !important;
}

.iti__selected-country {
    /* height: 38px; */
    /* padding: 0 0.55rem; */
    border-radius: 0.75rem;
    background: #fff;
    border: 1px solid #e9ecef;
    display: flex;
    align-items: center;
    /* gap: 0.35rem; */
}

.iti__selected-country:hover {
    background: #f8f9fa;
}

.iti__selected-dial-code {
    font-size: 0.9rem;
    font-weight: 600;
    color: #344767;
    margin-left: 0.2rem;
}

.iti__arrow {
    margin-left: 0.25rem;
}

.iti__country-list {
    border: 1px solid #e6edf5;
    border-radius: 0.9rem;
    box-shadow: 0 18px 38px rgba(15, 23, 42, 0.12);
    overflow-x: hidden;
    padding: 0.35rem 0;
}

.iti__country.iti__highlight {
    background-color: color-mix(in srgb, var(--bs-primary) 8%, white);
}

[data-bs-theme="dark"] .mph-label {
    color: #f8f9fa;
}

[data-bs-theme="dark"] .mph-hint {
    color: #98a2b3;
}

[data-bs-theme="dark"] .mph-input {
    background: #1f2637;
    border-color: #344054;
    color: #f8f9fa;
    box-shadow: none;
}

[data-bs-theme="dark"] .iti__selected-country {
    background: #151b2b;
    border-color: #344054;
}

[data-bs-theme="dark"] .iti__selected-dial-code {
    color: #f8f9fa;
}

[data-bs-theme="dark"] .iti__country-list {
    background: #1f2637;
    border-color: #344054;
    color: #f8f9fa;
}

