.ag-tel-field {
    width: 100%;
}
.ag-tel-field__inner {
    display: flex;
    align-items: stretch;
    min-height: 4rem;
    border-radius: 1rem;
    overflow: visible;
    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 {
    position: relative;
    min-width: 6.75rem;
    max-width: 10rem;
    padding: 0 1.35rem 0 0.65rem;
    gap: 0.2rem;
}
.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;
    flex-shrink: 0;
    pointer-events: none;
}
.ag-tel-field__pais-nome {
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
    overflow: visible;
    text-overflow: clip;
    flex: 1;
    min-width: 0;
    pointer-events: none;
}
.ag-tel-field__select {
    appearance: none;
    -webkit-appearance: none;
    background: transparent;
    border: 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 {
    position: absolute;
    inset: 0;
    width: 100%;
    max-width: none;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}
.ag-tel-field__select--country option {
    color: #0f172a;
    background: #fff;
}
.ag-tel-field--dark .ag-tel-field__select--country option {
    color: #fff;
    background: #1b1a1b;
}
.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__country .ag-tel-field__chevron {
    right: 0.15rem;
    z-index: 1;
}
.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__phone-ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    align-self: center;
    margin-left: 0.35rem;
    font-size: 1.15rem;
    opacity: 0.85;
    pointer-events: none;
    line-height: 1;
    color: inherit;
}
.ag-tel-field__number {
    flex: 1;
    min-width: 0;
    background: transparent;
    border: none;
    font-size: 1.05rem;
    padding: 0 1rem 0 0.35rem;
    outline: none;
    height: 100%;
    min-height: 3.5rem;
}
/* Esconde indicadores/autofill do Chromium (relógio / contact picker) no campo tel */
.ag-tel-field__number::-webkit-calendar-picker-indicator,
.ag-tel-field__number::-webkit-contacts-auto-fill-button,
.ag-tel-field__number::-webkit-credentials-auto-fill-button,
.ag-tel-field__number::-webkit-strong-password-auto-fill-button,
.ag-tel-field input::-webkit-calendar-picker-indicator,
.ag-tel-field input::-webkit-contacts-auto-fill-button,
.ag-tel-field input::-webkit-credentials-auto-fill-button,
.ag-tel-field input::-webkit-strong-password-auto-fill-button {
    display: none !important;
    opacity: 0 !important;
    pointer-events: none !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    background: transparent !important;
    color: transparent !important;
    visibility: hidden !important;
}
/* Reduz sugestões nativas do browser sobre o campo */
.ag-tel-field__number::-ms-clear,
.ag-tel-field__number::-ms-reveal {
    display: none;
    width: 0;
    height: 0;
}
@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; }
}
