body {
    margin: 0;
    font-family: arial, sans-serif;
    background-color: #0f172a;
    color: white;
   
    display: flex;
    justify-content: center;
    align-items: center;

    height: 100vh;
    flex-direction: column;
}

h1 {
    font-size: 42px;
    margin-bottom: 20px;
    text-align: center;
}

/* BOTÃO */
button {
    display: block;
    margin: 20px auto;
    padding: 18px 40px;
    font-size: 18px;
    border-radius: 15px;
    border: none;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: white;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

button:hover {
    transform: scale(1.08);
    opacity: 0.9;
    box-shadow: 0 15px 30px rgba(0,0,0,0.4);
}

/* CONTAINER */
.container {
    display: flex;
    gap: 20px;
    margin-top: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* CARDS (SERVIÇOS + PAINEL) */
.card {
    background: #1e293b;
    padding: 20px;
    border-radius: 16px;
    width: 100%;
    max-width: 400px;
    margin: 10px;

    display: flex;
    flex-direction: column;
    align-content: center;
    text-align: center;

    transition: 0.25s;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.card:hover {
    transform: scale(1.02);
    background: #334155;
}

/* TEXTO DENTRO DOS CARDS */
.card p {
    margin: 6px 0;
    font-size: 14px;
}

.card p:first-child {
    font-size: 18px;
    font-weight: bold;
    color: #22c55e;
}

/* LISTA DO PAINEL */
#lista {
    width: 100%;
    max-width: 600px;
    margin: auto;
}

/* INPUT */
input {
    width: 250px;
    padding: 15px;
    border-radius: 10px;
    border: none;
    outline: none;
    font-size: 16px;
    margin: 5px;
}

/* ERRO */
.erro {
    position: absolute;
    top: 200px;
    background: #ef4444;
    padding: 15px 25px;
    border-radius: 12px;
    color: white;
    font-weight: bold;
    display: none;
    animation: aparecer 0.3s ease;
}

/*LISTA DO PAINAL*/
.painel {
    width: 100%;
    max-width: 700px;
    margin: auto;
}

.painel h1 {
    text-align: center;
    margin-bottom: 30px;
}

.ocupado {
  opacity: 0.4;
  pointer-events: none;
  filter: grayscale(100%);
}

.card {
  transition: 0.3s;
}

.card:hover {
  transform: scale(1.05);
}

@keyframes aparecer {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}