body {
    position: relative;
    display: grid;
    min-height: 100dvh;
    grid-template-rows: auto 1fr auto;
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-image: url(../img/fondo_panaderia.jpg);
    background-size: cover;
    background-attachment: fixed;
    color: #333;
}

body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: -1;
}

header, footer {
    padding: 20px;
    text-align: center;
}
header h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    color: #f8f9fa;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

header h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    color: #f8f9fa;
    margin-top: 5px;
    font-weight: 300;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4);
}

header {
    background-color: rgba(0, 0, 0, 0.5);
    color: #f8f9fa;
    padding: 20px 0;
    text-align: center;
    z-index: 10;
    position: relative;
    font-family: 'Verdana', sans-serif;
}

footer {
    background-color: rgba(0, 0, 0, 0.5);
    color: #f8f9fa;
    text-align: center;
    padding: 10px 0;
    font-size: 0.9rem;
    position: relative;
    z-index: 10;
    margin-top: 20px;
}
footer h2 {
    font-size: 0.85rem;
    color: #dcdcdc;
    font-family: Arial, sans-serif;
}

.container {
    position: relative;
    z-index: 1;
}

#pedidoForm {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 25px 20px;
    margin-bottom: 30px;
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.15);
}

#pedidoForm .form-group {
    margin-bottom: 15px; 
}

#pedidoForm label {
    margin-right: 10px;
}

.form-group label {
    font-weight: bold;
    color: #555;
}

.table {
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    margin-top: 20px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.15);
}

.table th {
    background-color: #3babafbb;
    color: white;
    font-weight: 600;
    border: none;
}

.table td {
    border: none;
    vertical-align: middle;
    font-size: 0.95rem;
}

.btn-primary {
    background-color: #3babafbb;
    border: none;
    font-weight: bold;
    padding: 8px 12px;
    transition: background-color 0.3s;
}

.btn-primary:hover {
    background-color: #3babafbb;
}

.btn-success {
    background-color: #3babafbb;
    border: none;
    font-weight: bold;
    padding: 8px 12px;
    transition: background-color 0.3s;
}

.btn-success:hover {
    background-color: #189fa4de;
}

.card-ticket {
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    padding: 20px;
    margin-top: 30px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.15);
    max-width: 300px;
    float: right;
    margin-left: 20px;
}

.card-ticket h4 {
    color: #193756a8;
    font-weight: bold;
    margin: 0;
}


.modal-content {
    background-color: #17a3b8e7;
    color: rgba(255, 255, 255, 0.566);
    border-radius: 10px;
    padding: 20px;
}

.modal-header, .modal-footer {
    border: none;
}

@media (max-width: 768px) {
    h1 {
        font-size: 1.5rem;
    }

    h2 {
        font-size: 1.2rem;
    }

    #pedidoForm {
        width: 100%;
    }

    .card-ticket {
        width: 100%;
    }

    .btn {
        width: 100%;
    }
}
