.popup-regras-overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.75);
z-index: 99999;
display: flex;
justify-content: center;
align-items: center;
opacity: 0;
visibility: hidden;
transition: all 0.3s ease;
}
.popup-regras-overlay.active {
opacity: 1;
visibility: visible;
}
.popup-regras-content {
background-color: white;
border-radius: 8px;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
max-width: 650px;
width: 90%;
max-height: 85vh;
display: flex;
flex-direction: column;
opacity: 0;
transform: translateY(-20px);
transition: all 0.3s ease;
}
.popup-regras-overlay.active .popup-regras-content {
opacity: 1;
transform: translateY(0);
}
.popup-regras-header {
padding: 25px 30px 15px;
border-bottom: 1px solid #eaeaea;
position: relative; }
.popup-regras-close {
position: absolute;
top: 20px;
right: 20px;
width: 24px;
height: 24px;
opacity: 0.6;
cursor: pointer;
transition: all 0.2s ease;
background: none;
border: none;
font-size: 24px;
line-height: 1;
padding: 0;
color: #666;
}
.popup-regras-close:hover {
opacity: 1;
color: #333;
}
.popup-regras-header h2 {
color: #222;
margin: 0 0 5px 0;
font-family: 'Poppins', sans-serif;
font-weight: 600;
font-size: 22px;
text-align: left;
line-height: 1.3;
padding-right: 30px; }
.popup-regras-product-title {
color: #666;
font-size: 16px;
font-family: 'Poppins', sans-serif;
margin-top: 8px;
font-weight: 400;
text-align: left;
}
.popup-regras-body {
padding: 25px 30px;
overflow-y: auto;
flex: 1;
}
.popup-regras-texto {
margin-bottom: 0; line-height: 1.7;
color: #333;
font-size: 15px;
text-align: left;
font-family: 'Poppins', sans-serif;
} .popup-regras-texto p, 
.popup-regras-texto ul, 
.popup-regras-texto ol,
.popup-regras-texto h1,
.popup-regras-texto h2,
.popup-regras-texto h3,
.popup-regras-texto h4,
.popup-regras-texto h5,
.popup-regras-texto h6,
.popup-regras-texto blockquote,
.popup-regras-texto div,
.popup-regras-texto table {
margin-bottom: 15px;
text-align: left;
}
.popup-regras-texto ul, 
.popup-regras-texto ol {
padding-left: 20px;
margin-left: 15px;
}
.popup-regras-texto li {
margin-bottom: 8px;
}
.popup-regras-texto h1 {
font-size: 24px;
margin-top: 25px;
margin-bottom: 15px;
}
.popup-regras-texto h2 {
font-size: 22px;
margin-top: 22px;
margin-bottom: 12px;
}
.popup-regras-texto h3 {
font-size: 20px;
margin-top: 20px;
margin-bottom: 10px;
}
.popup-regras-texto h4, 
.popup-regras-texto h5, 
.popup-regras-texto h6 {
margin-top: 15px;
margin-bottom: 10px;
}
.popup-regras-texto strong, 
.popup-regras-texto b {
font-weight: 600;
}
.popup-regras-texto em, 
.popup-regras-texto i {
font-style: italic;
}
.popup-regras-texto blockquote {
border-left: 3px solid #2271b1;
padding: 10px 15px;
margin: 15px 0;
background-color: #f9f9f9;
}
.popup-regras-texto table {
border-collapse: collapse;
width: 100%;
margin-bottom: 20px;
}
.popup-regras-texto table th, 
.popup-regras-texto table td {
border: 1px solid #ddd;
padding: 8px 12px;
text-align: left;
}
.popup-regras-texto table th {
background-color: #f5f5f5;
} .popup-regras-texto br {
display: block;
content: "";
margin-bottom: 5px;
}
.popup-regras-footer {
padding: 20px 30px;
border-top: 1px solid #eaeaea;
background-color: #f9f9f9; } .popup-regras-consent {
display: flex;
align-items: flex-start;
margin-bottom: 20px;
padding: 15px;
background-color: #f0f6fa;
border-radius: 6px;
text-align: left;
}
.popup-regras-consent input {
margin-right: 10px;
margin-top: 3px;
transform: scale(1.2);
}
.popup-regras-consent label {
font-size: 15px;
color: #333;
font-family: 'Poppins', sans-serif;
font-weight: 500;
line-height: 1.5;
text-align: left;
}
.popup-regras-actions {
display: flex;
justify-content: flex-end;
}
#popup-regras-button {
background-color: #2271b1;
color: white;
border: none;
padding: 12px 28px;
font-size: 16px;
cursor: pointer;
border-radius: 4px;
font-family: 'Poppins', sans-serif;
font-weight: 500;
transition: all 0.2s ease;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
text-transform: uppercase;
letter-spacing: 0.5px;
}
#popup-regras-button:disabled {
background-color: #d1d1d1;
cursor: not-allowed;
box-shadow: none;
}
#popup-regras-button:hover:not(:disabled) {
background-color: #135e96;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
} #popup-regras-button:focus, 
#popup-regras-checkbox:focus,
.popup-regras-close:focus {
outline: 2px solid #2271b1;
outline-offset: 2px;
} @media (max-width: 768px) {
.popup-regras-content {
width: 95%;
max-height: 90vh;
}
.popup-regras-header,
.popup-regras-body {
padding: 20px;
}
.popup-regras-footer {
padding: 20px;
}
.popup-regras-header h2 {
font-size: 20px;
}
.popup-regras-product-title {
font-size: 14px;
}
.popup-regras-texto {
font-size: 14px;
}
.popup-regras-consent {
padding: 12px;
}
.popup-regras-consent label {
font-size: 14px;
}
#popup-regras-button {
width: 100%;
padding: 12px 20px;
font-size: 15px;
}
} .woocommerce-table--order-details .consentimento-regras,
.woocommerce-checkout-review-order-table .consentimento-regras {
margin-top: 5px;
padding: 5px 10px;
background-color: #f7f7f7;
border-radius: 4px;
font-size: 14px;
color: #555;
font-style: italic;
text-align: left;
}
.woocommerce-table--order-details .consentimento-regras i,
.woocommerce-checkout-review-order-table .consentimento-regras i {
color: #2271b1;
margin-right: 5px;
} .consentimento-regras-admin {
margin-top: 10px;
padding: 10px;
background-color: #f0f6fa;
border-left: 3px solid #2271b1;
border-radius: 3px;
font-size: 13px;
display: flex;
align-items: center;
}
.consentimento-regras-admin .dashicons {
margin-right: 8px;
color: #2271b1;
}