/* Estilos para o formulário de recolha */
.info-box {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 15px;
    margin: 20px 0;
}

.info-box strong {
    color: #2c3e50;
}

.info-box ul {
    margin: 10px 0;
    padding-left: 20px;
}

.info-box li {
    margin: 5px 0;
}

/* Estilos para campos de formulário */
input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
    width: 100%;
    padding: 12px 15px;
    margin: 5px 0;
    border: 1px solid #ddd;
    border-radius: 6px;
    box-sizing: border-box;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
    background-color: #f8f9fa;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
select:focus,
textarea:focus {
    border-color: #c1121f;
    outline: none;
    box-shadow: 0 0 0 3px rgba(193, 18, 31, 0.2);
    background-color: white;
}

/* Estilos para opções de pagamento */
.payment-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-top: 10px;
}

.payment-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    border: 2px solid #ddd;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.payment-option:hover {
    border-color: #c1121f;
    background: white;
    transform: translateY(-2px);
}

.payment-option input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.payment-option input[type="radio"]:checked + .payment-icon {
    color: #c1121f;
}

.payment-option input[type="radio"]:checked + .payment-icon + .payment-label {
    color: #c1121f;
    font-weight: 600;
}

.payment-option input[type="radio"]:checked ~ .payment-icon {
    transform: scale(1.1);
}

.payment-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: #2c3e50;
    transition: all 0.3s ease;
}

.payment-label {
    font-size: 0.9rem;
    text-align: center;
    color: #2c3e50;
    transition: all 0.3s ease;
}

/* Estilos para mensagens de erro */
.error-message {
    color: #dc3545;
    font-size: 0.9em;
    margin-top: 5px;
    display: none;
}

/* Mostrar erro apenas quando o campo for inválido E o usuário já interagiu com ele */
input:invalid:not(:placeholder-shown) + .error-message {
    display: block;
}

/* Estilos para botões primários DENTRO do formulário de recolha */
.container > form .btn-primary,
.recolha-form .btn-primary {
    background-color: #c1121f;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1.1rem;
    font-family: 'Raleway', sans-serif;
    font-weight: 600;
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.container > form .btn-primary:hover,
.recolha-form .btn-primary:hover {
    background-color: #a00f1a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(193, 18, 31, 0.3);
}

/* Estilos para o reCAPTCHA */
.g-recaptcha {
    margin: 20px 0;
}

/* Estilos para campos obrigatórios */
.required-field::after {
    content: '*';
    color: #c1121f;
    margin-left: 4px;
}

/* Estilos para o campo de outro produto */
#otherProductGroup {
    margin-top: -0.5rem;
    padding-top: 0;
    animation: slideDown 0.3s ease-out;
}

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

/* Responsividade */
@media screen and (max-width: 736px) {
    .payment-options {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .row.uniform {
        margin: 0;
    }
    
    .row.uniform > * {
        padding: 0;
    }
    
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    select,
    textarea {
        margin: 10px 0;
    }
}

/* Estilos para o processo de encomenda */
.order-process-info {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

.order-process-info h3 {
    color: #2c3e50;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.order-process-info h3 i {
    color: #c1121f;
    margin-right: 0.5rem;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.step {
    position: relative;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
}

.step:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    background: white;
}

.step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #c1121f;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
}

.step i {
    font-size: 2rem;
    color: #c1121f;
    margin-bottom: 1rem;
}

.step h4 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.step p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
}

.process-note {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #fff5f5;
    border-left: 4px solid #c1121f;
    padding: 1rem;
    border-radius: 0 6px 6px 0;
    margin-top: 2rem;
}

.process-note i {
    font-size: 1.5rem;
    color: #c1121f;
}

.process-note p {
    margin: 0;
    color: #2c3e50;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Responsividade para o processo de encomenda */
@media screen and (max-width: 768px) {
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    .step {
        padding: 1.2rem;
    }
    
    .process-note {
        flex-direction: column;
        text-align: center;
        padding: 1.2rem;
    }
}

/* Estilos para o modal de feedback */
.modal-feedback {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

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

.modal-content h3 {
    margin: 0 0 15px 0;
    color: #2c3e50;
    font-size: 1.5rem;
}

.modal-content p {
    margin: 0 0 20px 0;
    color: #666;
    line-height: 1.5;
}

/* Estilos para o spinner */
.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #c1121f;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Estilos para mensagens de sucesso e erro */
.success-message {
    color: #28a745;
    font-weight: 600;
}

.error-message-modal {
    color: #dc3545;
    font-weight: 600;
}

/* Botão do modal */
.modal-content .btn-submit {
    background-color: #c1121f;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.modal-content .btn-submit:hover {
    background-color: #a00f1a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(193, 18, 31, 0.3);
}

/* Estilos para mensagens de alerta */
.alert {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    min-width: 300px;
    max-width: 400px;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    animation: slideInRight 0.3s ease-out;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    line-height: 1.4;
}

.alert-success {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.alert-danger {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

.alert-info {
    background-color: #d1ecf1;
    border: 1px solid #bee5eb;
    color: #0c5460;
}

.alert i {
    margin-right: 8px;
    font-size: 1.1rem;
}

.alert .btn-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.alert .btn-close:hover {
    opacity: 1;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Responsividade para mensagens de alerta */
@media screen and (max-width: 768px) {
    .alert {
        top: 10px;
        right: 10px;
        left: 10px;
        min-width: auto;
        max-width: none;
    }
} 