*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    background:#050b18;
    font-family:Arial, Helvetica, sans-serif;
    color:#fff;
}

/* =====================================================
   ALERTAS
===================================================== */



.flash {
    padding: 14px 18px;
    margin-bottom: 20px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 15px;
    animation: fadeIn 0.3s ease-in-out;
    border-left: 6px solid transparent;
}

.flash.sucesso {
    background: #e6ffed;
    color: #0f5132;
    border-left-color: #28a745;
}

.flash.erro {
    background: #ffe6e6;
    color: #842029;
    border-left-color: #dc3545;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.alert-edicao{

    background: linear-gradient(
        145deg,
        rgba(0,255,136,.15),
        rgba(0,255,136,.05)
    );

    border:1px solid rgba(0,255,136,.3);

    color:#00ff88;

    padding:16px 20px;

    border-radius:14px;

    margin-bottom:20px;

    display:flex;
    flex-direction:column;
    gap:5px;

    animation: fadeIn .3s ease-in-out;
}

.alert-edicao strong{
    font-size:15px;
}

.alert-edicao span{
    font-size:13px;
    color:#d1d5db;
}




/* =====================================================
   CONTAINER
===================================================== */

.container{
    width:95%;
    max-width:1200px;
    margin:40px auto;
}

/* =====================================================
   HERO
===================================================== */

.hero-anuncio{
    text-align:center;
    margin-bottom:30px;
}

.hero-anuncio h1{
    font-size:36px;
    color:#fff;
}

/* =====================================================
   CARD (MESMO PADRÃO DO LANDING)
===================================================== */

.card{

    background:linear-gradient(
        145deg,
        #0a162b,
        #081120
    );

    padding:25px;

    margin-bottom:20px;

    border-radius:16px;

    border:1px solid rgba(0,255,136,.15);

    box-shadow:
        0 10px 30px rgba(0,0,0,.35);

    transition:
        transform .3s ease,
        border-color .3s ease;
}

.card:hover{
    transform:translateY(-3px);
    border-color:rgba(0,255,136,.4);
}

.card h2{
    margin-bottom:20px;
    color:#00ff88;
    font-size:22px;
}

/* =====================================================
   INPUTS
===================================================== */

label{
    display:block;
    margin-bottom:8px;
    font-weight:600;
    color:#d1d5db;
}

input,
textarea,
select{

    width:100%;

    padding:14px;

    border:1px solid rgba(255,255,255,.08);

    border-radius:10px;

    margin-bottom:15px;

    background:#111c33;

    color:#fff;

    transition:.3s;
}

input:focus,
textarea:focus,
select:focus{
    outline:none;
    border-color:#00ff88;
    box-shadow:0 0 0 3px rgba(0,255,136,.15);
}

input::placeholder,
textarea::placeholder{
    color:#9ca3af;
}

/* =====================================================
   GRID
===================================================== */

.grid-2{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:15px;
}

/* =====================================================
   PASSWORD
===================================================== */

.password-wrapper{
    position:relative;
}

.eye{
    position:absolute;
    right:12px;
    top:38px;
    cursor:pointer;
    color:#9ca3af;
}

/* =====================================================
   BOTÕES
===================================================== */

.btn-salvar{

    width:100%;

    padding:18px;

    border:none;

    border-radius:12px;

    background:#00ff88;

    color:#050b18;

    font-size:18px;

    font-weight:700;

    cursor:pointer;

    transition:.3s;
}

.btn-salvar:hover{
    transform:translateY(-3px);
    box-shadow:0 10px 25px rgba(0,255,136,.35);
}

.btn-voltar{

    display:inline-flex;
    align-items:center;
    justify-content:center;

    width:100%;

    margin-top:20px;

    padding:18px;

    border-radius:12px;

    background:#374151;

    color:#fff;

    text-decoration:none;

    font-size:18px;

    font-weight:700;

    transition:.3s;
}

.btn-voltar:hover{
    background:#d1d5db;
    color:#111;
    transform:translateY(-3px);
}

/* =====================================================
   IMAGEM
===================================================== */

img{
    border-radius:12px;
    border:2px solid rgba(0,255,136,.2);
    box-shadow:0 8px 20px rgba(0,0,0,.3);
}

/* =====================================================
   RESPONSIVO
===================================================== */

@media(max-width:768px){
    .grid-2{
        grid-template-columns:1fr;
    }

    .hero-anuncio h1{
        font-size:28px;
    }

    .card{
        padding:20px;
    }
}








.btn-adicionar-cidade {
    margin-top: 12px;
    padding: 10px 14px;
    background: #00ff88;
    color: #000;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-adicionar-cidade:hover {
    background: #00ff88;
    transform: translateY(-1px);
}

.btn-adicionar-cidade:active {
    transform: scale(0.98);
}





.remover-cidade {
    background: #fff;
    color: #fff;
    border: 2px solid #fff;
    width: 38px;
    height: 38px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    margin: 5px;
}

.remover-cidade:hover {
    background: #000;
    transform: scale(1.05);
}

.remover-cidade:active {
    transform: scale(0.95);
}


.cidade-item select {
    flex: 1;
}

