/* Reset e estilos gerais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background-color: white;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    margin-top: 20px;
    margin-bottom: 20px;
}

/* Estilo do cabeçalho */
.header {
    text-align: center;
    padding: 20px 0;
    background: linear-gradient(135deg, #FF6B35 0%, #FFA500 100%);
    border-radius: 10px;
    color: white;
    margin-bottom: 30px;
}

.logo {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 10px;
}

.app-title {
    font-size: 2.5rem;
    margin-bottom: 5px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.app-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Estilos gerais de texto (equivalente ao EstiloTexto do Android) */
.estilo-texto {
    display: block;
    width: 100%;
    height: auto;
    text-align: left;
    text-transform: uppercase;
    font-size: 15px;
    padding-top: 16px;
    padding-bottom: 16px;
    font-weight: 600;
    color: #333;
    border-bottom: 1px solid #eee;
    margin-bottom: 10px;
}

/* Estilos de formulário */
.form-group {
    margin-bottom: 25px;
}

.form-input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.form-input:focus {
    border-color: #FF6B35;
    outline: none;
}

/* Checkboxes estilizados */
.checkboxes {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 10px;
}

.checkbox {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 10px;
    border-radius: 8px;
    transition: background-color 0.3s;
}

.checkbox:hover {
    background-color: #f9f9f9;
}

.checkbox input {
    display: none;
}

.checkbox-custom {
    width: 24px;
    height: 24px;
    border: 2px solid #FF6B35;
    border-radius: 4px;
    margin-right: 12px;
    position: relative;
    transition: background-color 0.3s;
}

.checkbox input:checked + .checkbox-custom {
    background-color: #FF6B35;
}

.checkbox input:checked + .checkbox-custom::after {
    content: '✓';
    position: absolute;
    color: white;
    font-size: 16px;
    font-weight: bold;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.checkbox-label {
    font-size: 16px;
    color: #333;
}

/* Seletor de quantidade */
.quantity-selector {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
}

.btn-quantity {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #FF6B35;
    color: white;
    border: none;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
}

.btn-quantity:hover {
    background-color: #E55A2B;
}

.btn-quantity:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

.quantity-display {
    width: 80px;
    height: 50px;
    background-color: #f9f9f9;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 15px;
    font-size: 24px;
    font-weight: bold;
    color: #333;
    border: 2px solid #ddd;
}

/* Resumo do pedido */
.order-summary {
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    border: 2px dashed #ddd;
    min-height: 120px;
    font-size: 16px;
    line-height: 1.8;
    color: #555;
}

/* Preço total */
.total-price {
    font-size: 2.5rem;
    font-weight: bold;
    color: #FF6B35;
    text-align: center;
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: 8px;
    margin-top: 10px;
}

/* Botões */
.button-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 30px;
}

.btn-primary {
    padding: 18px 30px;
    background-color: #FF6B35;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

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

.btn-secondary {
    padding: 18px 30px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-secondary:hover {
    background-color: #3d8b40;
}

/* Rodapé */
.footer {
    text-align: center;
    margin-top: 30px;
    padding: 20px;
    color: #777;
    font-size: 14px;
    border-top: 1px solid #eee;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    text-align: center;
}

.modal-content h3 {
    color: #FF6B35;
    margin-bottom: 20px;
    font-size: 24px;
}

/* Responsividade */
@media (max-width: 768px) {
    .container {
        margin: 10px;
        padding: 15px;
    }
    
    .app-title {
        font-size: 2rem;
    }
    
    .button-group {
        flex-direction: column;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
    }
}
