/* WiFi */
.section-title {
    font-size: 16px;
    font-weight: 600;
    color: #00bcd4;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.wifi-row {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.password-container {
    margin-top: 12px;
}

.password-wrapper {
    display: flex;
    align-items: center;
    margin-top: 10px;
}

.password-wrapper input {
    flex-grow: 1;
}

.eye-icon {
    margin-left: 10px;
    cursor: pointer;
    font-size: 20px;
    user-select: none;
}

button {
    padding: 10px 14px;
    border-radius: 6px;
    background-color: #f0b429;
    border: none;
    color: #1a1a1a;
    font-weight: bold;
    font-family: 'Montserrat', sans-serif;
    transition: background-color 0.25s;
    cursor: pointer;
}

button:hover {
    background-color: #d99a26;
}

button:active {
    transform: scale(0.98);
}

.btn-right {
    width: auto;
    margin-left: auto;
    margin-top: 8px;
}

.btn-save {
    width: 100%;
    margin-top: 15px;
    font-size: 15px;
    transition: background-color 0.2s ease, transform 0.05s ease;
}

/* 🔴 Estado: cambios sin guardar */
.btn-save.pending {
    background-color: #f39c12;   /* ámbar */
}

.btn-save.pending:hover {
    background-color: #d68910;
}

/* 🟢 Estado: guardado */
.btn-save.saved {
    background-color: #2ecc71;
}

.btn-save.saved:hover {
    background-color: #27ae60;
}

/* opcional feedback táctil */
.btn-save:active {
    transform: scale(0.98);
}

.wifi-icon {
    display: inline-flex;
    align-items: flex-end;
    gap: 3px;
    line-height: 0;
    vertical-align: middle;
    margin-bottom: 4px;
    margin-left: 14px;
}

.wifi-icon .bar {
    width: 6px;
    border-radius: 2px;
    margin: 0;
}

.bar-active {
    background: #22c55e;
}

.bar-inactive {
    background: #d0d0d0;
    opacity: 0.6;
}

.field-label {
    font-size: 14px;
    color: #00bcd4;
    margin-bottom: 4px;
    text-transform: uppercase;
    opacity: 0.8;
    display: block;
}

.current-ssid {
    margin-top: 10px;
    font-weight: bold;
    color: #f0b429;
}

select, 
input[type="password"],
input[type="text"] {
    width: 100%;
    padding: 8px;
    border-radius: 6px;
    border: 1px solid #444;
    background: #333;
    color: #e0e0e0;
    font-family: 'Montserrat', sans-serif;
    box-sizing: border-box;
}

input:focus, select:focus {
    outline: none;
    border-color: #f0b429;
}

.info-text {
    text-align: center;
    /* margin: 8px 0; */
    margin-top: 8px;
    margin-bottom: 8px;
    font-size: 13px;
    color: #e0e0e0;
}

.unit-label {
    font-size: 11px;
    color: #00bcd4;
    margin-top: 4px;
    text-transform: uppercase;
    opacity: 0.8;
}

.height-1 { height: 4px; }
.height-2 { height: 8px; }
.height-3 { height: 12px; }
.height-4 { height: 16px; }
