/* ============================================================
   style.css – Vou para onde e de quê?
   Todos os estilos visuais
   ============================================================ */

body {
    background: #050608;
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

.app-container {
    max-width: 480px;
    margin: 0 auto;
    padding: 0.5rem 1rem 6rem 1rem;
    min-height: 100vh;
    position: relative;
    background-image: url('fundo.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: rgba(5, 6, 8, 0.25);
    display: flex;
    flex-direction: column;
}

/* ===== AJUSTE MOBILE: desce a logo ===== */
@media (max-width: 480px) {
    .app-container {
        padding-top: 2.2rem;
    }
}

/* ===== GLASSMORPHISM ===== */
.glass {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 1rem;
}

.glass-btn {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 2rem;
    padding: 0.4rem 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    font-size: 0.7rem;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    cursor: pointer;
    white-space: nowrap;
}

.glass-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(0, 240, 255, 0.3);
    color: #fff;
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.05);
}

.service-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 1.25rem;
    padding: 0.4rem 0.6rem;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.65rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    cursor: pointer;
    flex: 1;
    justify-content: center;
    white-space: nowrap;
}

.service-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(0, 240, 255, 0.2);
    color: #fff;
    transform: translateY(-1px);
}

.service-card i {
    color: #00F0FF;
    font-size: 0.8rem;
}

/* ===== INPUTS ===== */
.input-glass {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: #fff;
    border-radius: 0.75rem;
    padding: 0.5rem 0.8rem 0.5rem 2.2rem;
    width: 100%;
    font-size: 0.75rem;
    transition: all 0.3s ease;
    outline: none;
}

.input-glass:focus {
    border-color: rgba(0, 240, 255, 0.4);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.05);
}

.input-glass::placeholder {
    color: rgba(255, 255, 255, 0.25);
    font-weight: 300;
}

.input-wrapper {
    position: relative;
}

.input-wrapper i {
    position: absolute;
    left: 0.8rem;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.2);
    font-size: 0.75rem;
    pointer-events: none;
    transition: color 0.3s ease;
}

.input-wrapper:focus-within i {
    color: #00F0FF;
}

/* ===== BOTÃO PRINCIPAL ===== */
.btn-cyan {
    background: linear-gradient(135deg, #00F0FF, #0098B0);
    color: #030406;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 0.5rem 1rem;
    border-radius: 0.75rem;
    border: none;
    width: 100%;
    font-size: 0.75rem;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    cursor: pointer;
}

.btn-cyan:hover {
    transform: scale(1.01);
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.35);
}

.btn-cyan:active {
    transform: scale(0.98);
}

/* ===== RODAPÉ ===== */
.bottom-actions {
    background: rgba(5, 6, 8, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 1.5rem 1.5rem 0 0;
    padding: 0.5rem 0.6rem 0.8rem 0.6rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
}

.bottom-actions .glass-btn,
.bottom-actions .service-card {
    flex: 1 1 auto;
    min-width: 80px;
    justify-content: center;
}

.bottom-actions .btn-cyan {
    flex: 1 1 100%;
    margin-top: 0.2rem;
}

/* ===== LOGO ===== */
.logo-wrapper {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 0.5rem;
    flex-shrink: 0;
}

.logo-wrapper img {
    width: 192px;
    height: auto;
    background: rgba(0, 0, 0, 0.25);
    padding: 0.2rem 0.5rem;
    border-radius: 0.75rem;
    filter: drop-shadow(0 0 20px rgba(0, 240, 255, 0.1));
    transition: filter 0.4s ease;
}

.logo-wrapper img:hover {
    filter: drop-shadow(0 0 35px rgba(0, 240, 255, 0.25));
}

/* ===== PAINEL DE BUSCA ===== */
.search-panel {
    margin-top: auto;
    margin-bottom: 0.5rem;
    padding: 0.3rem;
}

.search-panel .glass {
    padding: 0.8rem !important;
    border-radius: 1.25rem !important;
}

#clima-container {
    font-size: 0.55rem !important;
    margin-bottom: 0.3rem !important;
}

/* ===== MODAL ===== */
.modal-glass {
    background: rgba(5, 6, 8, 0.9);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 2rem;
    padding: 1.5rem;
    max-width: 400px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-glass input {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 0.75rem;
    padding: 0.7rem 1rem;
    width: 100%;
    color: #fff;
    transition: border 0.3s ease;
}

.modal-glass input:focus {
    border-color: rgba(0, 240, 255, 0.3);
    outline: none;
}

.tab-active {
    background: rgba(0, 240, 255, 0.1);
    color: #00F0FF;
}

.tab-inactive {
    background: transparent;
    color: rgba(255, 255, 255, 0.4);
}

.tab-inactive:hover {
    background: rgba(255, 255, 255, 0.04);
    color: #fff;
}

/* ===== AJUSTES DE RESULTADOS ===== */
#resultado .text-xl {
    font-size: 1rem !important;
}
#resultado .w-10 {
    width: 2rem !important;
    height: 2rem !important;
}
#resultado .p-5 {
    padding: 0.5rem 0.8rem !important;
}