.ag-tel-field {
    width: 100%;
}
.ag-tel-field__inner {
    display: flex;
    align-items: stretch;
    min-height: 4rem;
    border-radius: 1rem;
    overflow: hidden;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}
.ag-tel-field--dark .ag-tel-field__inner {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.14);
}
.ag-tel-field--dark:focus-within .ag-tel-field__inner {
    border-color: rgba(255, 255, 255, 0.32);
    background: rgba(0, 0, 0, 0.32);
    box-shadow: 0 0 18px rgba(46, 46, 47, 0.45);
}
.ag-tel-field--light .ag-tel-field__inner {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(15, 23, 42, 0.12);
}
.ag-tel-field__country,
.ag-tel-field__ddd {
    position: relative;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}
.ag-tel-field__country {
    min-width: 5.5rem;
    padding: 0 0.35rem 0 0.75rem;
}
.ag-tel-field__ddd {
    min-width: 4.75rem;
    max-width: 5.5rem;
    padding: 0 0.25rem 0 0.5rem;
}
.ag-tel-field__flag {
    font-size: 1.35rem;
    line-height: 1;
    margin-right: 0.15rem;
    pointer-events: none;
}
.ag-tel-field__select {
    appearance: none;
    -webkit-appearance: none;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    color: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    padding: 0 1.35rem 0 0;
    height: 100%;
    min-height: 3.5rem;
    outline: none;
    width: 100%;
}
.ag-tel-field--dark .ag-tel-field__select,
.ag-tel-field--dark .ag-tel-field__number {
    color: #fff;
}
.ag-tel-field--dark .ag-tel-field__select option {
    color: #fff;
    background: #1b1a1b;
}
.ag-tel-field--dark .ag-tel-field__number::placeholder {
    color: rgba(255, 255, 255, 0.35);
}
.ag-tel-field--dark .ag-tel-field__number:-webkit-autofill,
.ag-tel-field--dark .ag-tel-field__number:-webkit-autofill:hover,
.ag-tel-field--dark .ag-tel-field__number:-webkit-autofill:focus,
.ag-tel-field--dark .ag-tel-field__number:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 1000px transparent inset !important;
    -webkit-text-fill-color: #fff !important;
    transition: background-color 5000s ease-in-out 0s;
}
.ag-tel-field--light .ag-tel-field__select,
.ag-tel-field--light .ag-tel-field__number {
    color: #0f172a;
}
.ag-tel-field__select--country {
    max-width: 2.5rem;
    color: transparent !important;
    text-shadow: none;
}
.ag-tel-field__select--country option {
    color: #fff;
}
.ag-tel-field__select--ddd {
    text-align: center;
    padding-left: 0.15rem;
}
.ag-tel-field__chevron {
    position: absolute;
    right: 0.2rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.1rem;
    opacity: 0.55;
    pointer-events: none;
}
.ag-tel-field__divider {
    width: 1px;
    align-self: stretch;
    flex-shrink: 0;
    margin: 0.65rem 0;
}
.ag-tel-field--dark .ag-tel-field__divider {
    background: rgba(255, 255, 255, 0.14);
}
.ag-tel-field--light .ag-tel-field__divider {
    background: rgba(15, 23, 42, 0.12);
}
.ag-tel-field__number {
    flex: 1;
    min-width: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    font-size: 1.05rem;
    padding: 0 1rem;
    outline: none;
    height: 100%;
    min-height: 3.5rem;
}
@media (max-width: 420px) {
    .ag-tel-field__country { min-width: 4.75rem; }
    .ag-tel-field__ddd { min-width: 4.25rem; max-width: 4.75rem; }
    .ag-tel-field__number { font-size: 1rem; padding: 0 0.75rem; }
}
