/* Estilos padrão neon para páginas de auth */
.phone-group {
    display: flex;
    gap: 10px;
}

.country-selector {
    position: relative;
    width: 85px;
    flex-shrink: 0;
}

.country-display {
    width: 100%;
    border-radius: 12px;
    border: 1px solid rgba(120, 243, 12, 0.2);
    background: rgba(0, 0, 0, 0.1);
    color: var(--text-color, #fff);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: all 0.3s ease;
    box-sizing: border-box;
    min-height: 48px;
    backdrop-filter: blur(5px);
}

.country-display:hover,
.country-display:focus {
    border-color: rgba(120, 243, 12, 0.4);
    box-shadow: 0 0 10px rgba(120, 243, 12, 0.1);
}

.country-display.active {
    border-color: var(--primary-color);
    background: rgba(0, 0, 0, 0.2);
    box-shadow: 
        0 0 0 2px rgba(120, 243, 12, 0.3),
        0 0 15px rgba(120, 243, 12, 0.2);
}

.country-flag {
    margin-right: 4px;
    font-size: 16px;
}

.country-code {
    font-size: 12px;
    font-weight: 500;
    margin-top: 2px;
}

.country-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-light, #2e333d);
    border: 1px solid rgba(120, 243, 12, 0.3);
    border-radius: 12px;
    max-height: 200px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.3),
        0 0 20px rgba(120, 243, 12, 0.1);
    color: var(--text-color, #fff);
    backdrop-filter: blur(10px);
    margin-top: 5px;
}

.country-dropdown.show {
    display: block;
}

.country-option {
    padding: 0.8rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    font-size: 14px;
    border-radius: 8px;
    margin: 2px;
}

.country-option:hover {
    background: rgba(120, 243, 12, 0.1);
    box-shadow: 0 0 8px rgba(120, 243, 12, 0.2);
}

.country-option.selected {
    background: rgba(120, 243, 12, 0.2);
    box-shadow: 0 0 10px rgba(120, 243, 12, 0.3);
}

.phone-input {
    flex: 1;
}

.phone-input input {
    box-sizing: border-box;
    border-radius: 12px !important;
    border: 1px solid rgba(120, 243, 12, 0.2) !important;
    background: rgba(0, 0, 0, 0.1) !important;
    backdrop-filter: blur(5px);
    padding: 0.9rem !important;
    font-size: 0.95rem !important;
}

.phone-input input:focus {
    border-color: var(--primary-color) !important;
    background: rgba(0, 0, 0, 0.2) !important;
    box-shadow: 
        0 0 0 2px rgba(120, 243, 12, 0.3),
        0 0 15px rgba(120, 243, 12, 0.2) !important;
    transform: translateY(-1px);
}

.phone-input input:hover {
    border-color: rgba(120, 243, 12, 0.4) !important;
    box-shadow: 0 0 10px rgba(120, 243, 12, 0.1);
}

.phone-example {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 6px;
    text-shadow: 0 0 3px rgba(120, 243, 12, 0.2);
    font-weight: 500;
}

select {
    width: 100%;
    padding: 0.9rem;
    border-radius: 12px;
    border: 1px solid rgba(120, 243, 12, 0.2);
    background: rgba(0, 0, 0, 0.1);
    color: var(--text-color, #fff);
    font-size: 0.95rem;
    transition: all 0.3s ease;
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%2378f30c' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 0.8rem center;
    background-repeat: no-repeat;
    background-size: 1.2em 1.2em;
    padding-right: 2.5rem;
    backdrop-filter: blur(5px);
}

select:hover,
select:focus {
    border-color: rgba(120, 243, 12, 0.4);
    box-shadow: 0 0 10px rgba(120, 243, 12, 0.1);
    outline: none;
}

select:focus {
    border-color: var(--primary-color);
    background: rgba(0, 0, 0, 0.2);
    box-shadow: 
        0 0 0 2px rgba(120, 243, 12, 0.3),
        0 0 15px rgba(120, 243, 12, 0.2);
    transform: translateY(-1px);
}

select option {
    background: var(--bg-light, #2e333d);
    color: var(--text-color, #fff);
    padding: 0.5rem;
}

.country-dropdown::-webkit-scrollbar {
    width: 6px;
}

.country-dropdown::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
}

.country-dropdown::-webkit-scrollbar-thumb {
    background: rgba(120, 243, 12, 0.3);
    border-radius: 3px;
    box-shadow: 0 0 5px rgba(120, 243, 12, 0.2);
}

.country-dropdown::-webkit-scrollbar-thumb:hover {
    background: rgba(120, 243, 12, 0.5);
    box-shadow: 0 0 8px rgba(120, 243, 12, 0.4);
}

/* ESTILOS ESPECÍFICOS PARA CONFIGURAÇÕES - PADRÃO ANTIGO */
.dashboard-container .phone-group {
    gap: 8px;
}

.dashboard-container .country-selector {
    width: 80px;
}

.dashboard-container .country-display {
    border-radius: 8px;
    border: 1px solid #ffffff61;
    background-color: transparent;
    min-height: 43px;
    backdrop-filter: none;
}

.dashboard-container .country-display:hover,
.dashboard-container .country-display:focus {
    border-color: var(--primary-color, #78f30c);
    box-shadow: 0 0 0 3px rgba(120, 243, 12, 0.1);
}

.dashboard-container .country-display.active {
    border-color: var(--primary-color);
    background: transparent;
    box-shadow: 0 0 0 3px rgba(120, 243, 12, 0.1);
}

.dashboard-container .country-dropdown {
    background-color: var(--bg-light, #1a1a1a);
    border: 1px solid var(--secondary-color, #ffffff61);
    border-radius: 8px;
    box-shadow: var(--shadow, 0 4px 6px rgba(0, 0, 0, 0.1));
    backdrop-filter: none;
    margin-top: 0;
}

.dashboard-container .country-option {
    border-radius: 0;
    margin: 0;
}

.dashboard-container .country-option:hover {
    background-color: rgba(120, 243, 12, 0.1);
    box-shadow: none;
}

.dashboard-container .country-option.selected {
    background-color: rgba(120, 243, 12, 0.2);
    box-shadow: none;
}

.dashboard-container .phone-input input {
    border-radius: 8px !important;
    border: 1px solid #ffffff61 !important;
    background-color: transparent !important;
    backdrop-filter: none;
    padding: 0.8rem !important;
    font-size: 14px !important;
}

.dashboard-container .phone-input input:focus {
    border-color: var(--primary-color, #78f30c) !important;
    background-color: transparent !important;
    box-shadow: 0 0 0 3px rgba(120, 243, 12, 0.1) !important;
    transform: none;
}

.dashboard-container .phone-input input:hover {
    border-color: var(--primary-color, #78f30c) !important;
    box-shadow: 0 0 0 3px rgba(120, 243, 12, 0.1);
}

.dashboard-container .phone-example {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 4px;
    text-shadow: none;
    font-weight: normal;
}

.dashboard-container select {
    padding: 0.8rem;
    border-radius: 8px;
    border: 1px solid #ffffff61;
    background-color: transparent;
    font-size: 14px;
    backdrop-filter: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 0.5rem center;
    background-size: 1.5em 1.5em;
}

.dashboard-container select:hover,
.dashboard-container select:focus {
    border-color: var(--primary-color, #78f30c);
    box-shadow: 0 0 0 3px rgba(120, 243, 12, 0.1);
    transform: none;
}

.dashboard-container select option {
    background-color: var(--bg-light, #1a1a1a);
}

@media (max-width: 768px) {
    .phone-group {
        gap: 8px;
    }
    
    .country-selector {
        width: 75px;
    }
    
    .country-display {
        min-height: 45px;
        font-size: 12px;
    }
    
    .country-flag {
        font-size: 14px;
        margin-right: 2px;
    }
    
    .country-code {
        font-size: 10px;
    }
    
    .country-option {
        padding: 0.6rem;
        font-size: 12px;
    }
    
    /* Configurações mobile também usa padrão antigo */
    .dashboard-container .country-selector {
        width: 70px;
    }
    
    .dashboard-container .country-display {
        min-height: 40px;
    }
}

@media (max-width: 480px) {
    .phone-group {
        gap: 6px;
    }
    
    .country-selector {
        width: 70px;
    }
    
    .country-display {
        min-height: 42px;
    }
}
