/**
 * ENNU Checkout Consent - Subdued Legal Style
 * Traditional, professional appearance
 */

/* Container - minimal styling */
.ennu-consent-wrapper {
    background: #ffffff;
    border: 1px solid #ccc;
    border-radius: 0;
    padding: 16px 20px;
    margin: 20px 0;
    box-shadow: none;
    font-family: Georgia, "Times New Roman", Times, serif;
}

.ennu-consent-wrapper:hover {
    box-shadow: none;
}

/* Header - understated */
.ennu-consent-header {
    margin-bottom: 12px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 8px;
}

.ennu-consent-header h3 {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin: 0;
    font-family: Georgia, "Times New Roman", Times, serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ennu-consent-subtitle {
    font-size: 11px;
    color: #666;
    margin: 4px 0 0 0;
}

/* Scrollable Content Box - plain */
.ennu-consent-scrollbox {
    position: relative;
    max-height: 250px;
    overflow-y: auto;
    overflow-x: hidden;
    border: 1px solid #ddd;
    border-radius: 0;
    padding: 12px 16px;
    background: #fafafa;
    margin-bottom: 12px;
    scroll-behavior: smooth;
}

.ennu-consent-scrollbox::-webkit-scrollbar {
    width: 6px;
}

.ennu-consent-scrollbox::-webkit-scrollbar-track {
    background: #eee;
}

.ennu-consent-scrollbox::-webkit-scrollbar-thumb {
    background: #999;
}

/* Hide scroll progress container - not needed */
.ennu-scroll-progress-container {
    display: none;
}

/* Content - smaller, traditional */
.ennu-consent-content {
    color: #444;
    font-size: 11px;
    line-height: 1.5;
    font-family: Georgia, "Times New Roman", Times, serif;
}

.ennu-consent-document {
    margin-bottom: 16px;
}

.ennu-consent-document:last-child {
    margin-bottom: 0;
}

.ennu-consent-document h4 {
    font-size: 12px;
    font-weight: 600;
    color: #333;
    margin: 0 0 8px 0;
    padding-bottom: 4px;
    border-bottom: 1px solid #ddd;
    font-family: Georgia, "Times New Roman", Times, serif;
}

/* Document Text Formatting - legal style */
.ennu-document-text {
    font-size: 10px;
    line-height: 1.4;
    color: #444;
    font-family: Georgia, "Times New Roman", Times, serif;
}

.ennu-document-text h3 {
    font-size: 11px;
    font-weight: 700;
    color: #333;
    margin: 12px 0 8px 0;
    padding-bottom: 4px;
    border-bottom: 1px solid #eee;
}

.ennu-document-text h4 {
    font-size: 10px;
    font-weight: 600;
    color: #444;
    margin: 10px 0 6px 0;
}

.ennu-document-text h5 {
    font-size: 10px;
    font-weight: 600;
    color: #333;
    margin: 8px 0 4px 0;
}

/* Paragraphs */
.ennu-document-text p {
    margin: 0 0 8px 0;
    line-height: 1.4;
    text-align: justify;
}

.ennu-document-text p:last-child {
    margin-bottom: 0;
}

/* Emphasis & Strong */
.ennu-document-text strong,
.ennu-document-text b {
    font-weight: 700;
    color: #333;
}

.ennu-document-text em,
.ennu-document-text i {
    font-style: italic;
}

/* Lists */
.ennu-document-text ul,
.ennu-document-text ol {
    margin: 8px 0;
    padding-left: 20px;
}

.ennu-document-text ul {
    list-style-type: disc;
}

.ennu-document-text ol {
    list-style-type: decimal;
}

.ennu-document-text li {
    margin: 4px 0;
    line-height: 1.4;
    color: #444;
}

/* Blockquotes */
.ennu-document-text blockquote {
    border-left: 2px solid #999;
    padding-left: 10px;
    margin: 8px 0;
    color: #555;
    font-style: italic;
}

/* Tables */
.ennu-document-text table {
    width: 100%;
    border-collapse: collapse;
    margin: 10px 0;
    font-size: 9px;
}

.ennu-document-text table th,
.ennu-document-text table td {
    padding: 4px 8px;
    border: 1px solid #ddd;
    text-align: left;
}

.ennu-document-text table th {
    background: #f5f5f5;
    font-weight: 600;
}

/* Horizontal Rule */
.ennu-document-text hr {
    border: none;
    height: 1px;
    background: #ddd;
    margin: 12px 0;
}

/* Divider */
.ennu-consent-divider {
    height: 1px;
    background: #ddd;
    margin: 16px 0;
}

/* Scroll Indicator - subtle */
.ennu-scroll-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 6px 10px;
    background: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 0;
    color: #666;
    font-size: 10px;
    margin-top: 8px;
    animation: none;
    font-family: Georgia, "Times New Roman", Times, serif;
}

.ennu-scroll-indicator i {
    font-size: 12px;
    animation: none;
}

/* Acceptance Checkbox - simple */
.ennu-consent-acceptance {
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid #ddd;
}

.ennu-consent-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    cursor: pointer;
}

.ennu-consent-checkbox-label input[type="checkbox"] {
    width: 14px;
    height: 14px;
    margin: 2px 0 0 0;
    cursor: pointer;
}

.ennu-consent-checkbox-label input[type="checkbox"]:disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

.ennu-consent-checkbox-text {
    font-size: 10px;
    color: #333;
    font-weight: 400;
    line-height: 1.4;
    font-family: Georgia, "Times New Roman", Times, serif;
}

.ennu-consent-checkbox-text .required {
    color: #900;
    font-weight: 600;
}

/* Validation Message - minimal */
.ennu-consent-validation-message {
    margin-top: 8px;
    padding: 6px 10px;
    border-radius: 0;
    font-size: 10px;
    font-family: Georgia, "Times New Roman", Times, serif;
}

.ennu-consent-validation-message.error {
    background: #fff5f5;
    border: 1px solid #dcc;
    color: #800;
}

.ennu-consent-validation-message.success {
    background: #f5fff5;
    border: 1px solid #cdc;
    color: #060;
}

.ennu-consent-validation-message.info {
    background: #f5f5ff;
    border: 1px solid #ccd;
    color: #006;
}

/* Loading State */
.ennu-consent-wrapper.loading {
    opacity: 0.7;
    pointer-events: none;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .ennu-consent-wrapper {
        padding: 12px;
        margin: 12px 0;
    }

    .ennu-consent-header h3 {
        font-size: 12px;
    }

    .ennu-consent-scrollbox {
        max-height: 200px;
        padding: 10px;
    }

    .ennu-document-text {
        font-size: 9px;
    }
}

/* Print Styles */
@media print {
    .ennu-consent-scrollbox {
        max-height: none;
        overflow: visible;
        border: none;
    }

    .ennu-scroll-indicator {
        display: none;
    }
}

/* Timer - hidden by default now */
.ennu-consent-timer {
    display: none;
}

/* Peptide-Specific - keep simple */
.ennu-consent-wrapper.ennu-consent-peptide .ennu-consent-checkbox-text {
    font-size: 10px;
    line-height: 1.4;
}
