/* Estilo Geral */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #ffe0f0 0%, #ffc2d1 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    overflow-x: hidden; /* Evita barra de rolagem por causa das flores */
}

/* Flores Flutuantes no Fundo */
.flower-bg {
    position: fixed;
    font-size: 2.5rem;
    z-index: -1;
    opacity: 0.6;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-25px) rotate(20deg); }
}

/* O Quadro Principal */
.container {
    background: rgba(255, 255, 255, 0.95);
    padding: 2.5rem;
    border-radius: 25px;
    box-shadow: 0 10px 30px rgba(255, 105, 180, 0.3);
    width: 90%;
    max-width: 400px;
    text-align: center;
    border: 3px solid #ffb6c1;
    position: relative; /* Para as flores dos cantos */
}

/* Flores nos Cantos do Quadro */
.corner-flower {
    position: absolute;
    font-size: 2rem;
}
.top-left { top: -20px; left: -20px; transform: rotate(-15deg); }
.top-right { top: -20px; right: -20px; transform: rotate(15deg); }

/* Título e Texto */
h2 {
    color: #d63384;
    margin-top: 0;
    font-size: 1.8rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

p {
    color: #854461;
    font-weight: 500;
}

/* Formulário e Inputs */
.form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 25px;
}

input {
    padding: 14px;
    border: 2px solid #ffe0f0;
    border-radius: 12px;
    outline: none;
    transition: 0.3s;
    background-color: #fffafc;
    font-size: 1rem;
}

input:focus {
    border-color: #ff69b4;
    box-shadow: 0 0 10px rgba(255, 105, 180, 0.2);
}

/* Botão Mágico */
button {
    padding: 14px;
    background: linear-gradient(45deg, #ff69b4, #ff1493);
    color: white;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-weight: bold;
    font-size: 1.1rem;
    transition: 0.3s;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

button:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(255, 20, 147, 0.4);
}

/* Corações com Brilho */
.sparkle {
    color: #ff1493;
    animation: sparkleAnim 1.5s infinite;
}

@keyframes sparkleAnim {
    0%, 100% { transform: scale(1); filter: drop-shadow(0 0 0px #ff1493); }
    50% { transform: scale(1.3); filter: drop-shadow(0 0 10px #ff69b4); }
}

.delay-1 { animation-delay: 0.4s; }

.footer-icons {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    font-size: 1.2rem;
}

/* Resultado da Busca */
.item-cep {
    background: #fff0f5;
    padding: 15px;
    margin-top: 15px;
    border-radius: 15px;
    text-align: left;
    border-left: 5px solid #ff69b4;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.fa-seedling { color: #ff69b4; }