/* Consent to Personal Data Processing Page Styles - Unified Modern Design */

.consent-wrapper {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 100vh;
    padding: 30px 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.consent-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.consent-content {
    background: white;
    padding: 50px;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    line-height: 1.7;
    color: #333;
    position: relative;
}

.consent-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #6c5ce7, #a29bfe, #fd79a8);
    border-radius: 16px 16px 0 0;
}

/* Typography */
.consent-title {
    color: #2d3436;
    text-align: center;
    border-bottom: 4px solid #6c5ce7;
    padding-bottom: 20px;
    margin-bottom: 40px;
    font-size: 32px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.consent-content h3 {
    color: #6c5ce7;
    margin-top: 40px;
    margin-bottom: 25px;
    border-left: 6px solid #a29bfe;
    padding-left: 20px;
    font-size: 24px;
    font-weight: 600;
    text-transform: uppercase;
}

.consent-content h4 {
    color: #5f3dc4;
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 18px;
    font-weight: 600;
    border-bottom: 2px solid #f1f3f4;
    padding-bottom: 8px;
}

/* Company Information */
.company-info {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 25px;
    border-radius: 10px;
    margin: 30px 0;
    border-left: 6px solid #e74c3c;
}

.company-info p {
    margin-bottom: 8px;
    font-size: 16px;
    line-height: 1.5;
}

.company-info strong {
    color: #ecf0f1;
    font-weight: 600;
}

.company-info a {
    color: white !important;
    text-decoration: none;
}

.company-info a:hover {
    color: #ecf0f1 !important;
    text-decoration: underline;
}

/* Consent Introduction */
.consent-text {
    font-size: 15px;
    line-height: 1.8;
}

.consent-intro {
    background: linear-gradient(135deg, #ffeaa7 0%, #fab1a0 100%);
    padding: 25px;
    border-radius: 12px;
    margin: 30px 0;
    border-left: 6px solid #e17055;
    color: #2d3436;
    font-weight: 500;
    font-size: 16px;
}

/* Sections */
.consent-section {
    margin: 40px 0;
    padding: 25px 0;
}

.consent-section p {
    margin-bottom: 15px;
    text-align: justify;
    line-height: 1.8;
}

/* Data Lists */
.data-list-section {
    background-color: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
    margin: 25px 0;
    border: 1px solid #dee2e6;
}

/* Убираем все стандартные маркеры списков на уровне контейнера */
.consent-content ul {
    list-style: none !important;
    margin: 0;
    padding: 0;
}

.consent-content li {
    list-style: none !important;
}

.personal-data-list,
.purposes-list,
.methods-list,
.transfer-list,
.terms-list,
.rights-list,
.security-measures {
    margin: 20px 0;
    padding-left: 25px;
    list-style: none !important; /* Убираем стандартные маркеры браузера */
}

.personal-data-list li,
.purposes-list li,
.methods-list li,
.transfer-list li,
.terms-list li,
.rights-list li,
.security-measures li {
    margin-bottom: 10px;
    line-height: 1.6;
    position: relative;
    padding-left: 15px;
    list-style: none !important; /* Убираем стандартные маркеры браузера */
}

.personal-data-list li::before {
    content: "•";
    color: #6c5ce7;
    font-weight: bold;
    position: absolute;
    left: 0;
    font-size: 18px;
    width: 15px;
}

.purposes-list li::before {
    content: "→";
    color: #a29bfe;
    font-weight: bold;
    position: absolute;
    left: 0;
    font-size: 16px;
    width: 15px;
}

.methods-list li::before {
    content: "✓";
    color: #00b894;
    font-weight: bold;
    position: absolute;
    left: 0;
    font-size: 14px;
    width: 15px;
}

.transfer-list li::before {
    content: "◆";
    color: #fdcb6e;
    font-weight: bold;
    position: absolute;
    left: 0;
    font-size: 12px;
    width: 15px;
}

.rights-list li::before {
    content: "★";
    color: #fd79a8;
    font-weight: bold;
    position: absolute;
    left: 0;
    font-size: 14px;
    width: 15px;
}

.terms-list li::before,
.security-measures li::before {
    content: "▪";
    color: #74b9ff;
    font-weight: bold;
    position: absolute;
    left: 0;
    font-size: 14px;
    width: 15px;
}

/* Signature Section */
.signature-section {
    background: linear-gradient(135deg, #00b894 0%, #00cec9 100%);
    color: white;
    padding: 30px;
    border-radius: 15px;
    margin: 30px 0;
    text-align: center;
}

.signature-section h3 {
    color: white;
    margin-bottom: 20px;
    border-bottom: none;
    font-size: 22px;
    border-left: none;
    padding-left: 0;
}

.signature-section p {
    font-size: 16px;
    line-height: 1.7;
    margin: 0;
}

.signature-section strong {
    color: #fff;
    font-weight: 600;
}

/* Important Notice */
.important-info {
    margin: 30px 0;
}

.info-block {
    margin: 25px 0;
    padding: 25px;
    border-radius: 12px;
    border-left: 5px solid;
}

.info-block.warning {
    background: linear-gradient(135deg, #ffeaa7 0%, #fab1a0 100%);
    border-left-color: #e17055;
    color: #2d3436;
}

.info-block h4 {
    margin-bottom: 15px;
    font-size: 18px;
    font-weight: 600;
}

.info-block p {
    margin-bottom: 15px;
    font-size: 16px;
    line-height: 1.7;
}

.info-block strong {
    color: inherit;
    font-weight: 600;
}

/* Contact Information */
.contact-info {
    background: linear-gradient(135deg, #e17055 0%, #f39c12 100%);
    color: white;
    padding: 30px;
    border-radius: 15px;
    margin: 25px 0;
}

.contact-details {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    margin-top: 15px;
}

.contact-details p {
    margin-bottom: 10px;
    font-size: 16px;
}

.contact-details strong {
    color: #fff;
    font-weight: 600;
}

/* Date Updated */
.date-updated {
    text-align: right;
    margin-top: 50px;
    padding-top: 25px;
    border-top: 3px solid #e9ecef;
}

.date-updated p {
    color: #6c757d;
    font-style: italic;
    font-size: 14px;
    margin-bottom: 5px;
}

/* Text Formatting */
strong {
    color: #2c3e50;
    font-weight: 600;
}

em {
    color: #6c757d;
    font-style: italic;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .consent-container {
        max-width: 95%;
        padding: 0 15px;
    }
    
    .consent-content {
        padding: 40px 30px;
    }
}

@media (max-width: 768px) {
    .consent-wrapper {
        padding: 20px 0;
    }
    
    .consent-container {
        padding: 0 10px;
    }
    
    .consent-content {
        padding: 25px 15px;
        border-radius: 8px;
    }
    
    .consent-title {
        font-size: 24px;
        line-height: 1.3;
        padding-bottom: 15px;
    }
    
    .consent-content h3 {
        font-size: 18px;
        margin-top: 30px;
        padding-left: 15px;
        border-left: 4px solid #e74c3c;
    }
    
    .consent-content h4 {
        font-size: 16px;
    }
    
    .company-info,
    .data-list-section,
    .signature-section,
    .info-block,
    .contact-info {
        padding: 20px;
        margin: 20px 0;
    }
    
    .personal-data-list,
    .purposes-list,
    .actions-list,
    .third-parties-list,
    .rights-list {
        padding-left: 15px;
    }
    
    .consent-text {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .consent-container {
        padding: 0 5px;
    }
    
    .consent-content {
        padding: 20px 10px;
    }
    
    .consent-title {
        font-size: 20px;
        text-align: left;
    }
    
    .consent-content h3 {
        font-size: 16px;
        line-height: 1.4;
        padding-left: 10px;
        border-left: 3px solid #e74c3c;
    }
    
    .company-info,
    .data-list-section,
    .signature-section,
    .info-block,
    .contact-info {
        padding: 15px;
    }
    
    .consent-text {
        font-size: 13px;
        line-height: 1.6;
    }
    
    .consent-intro {
        font-size: 14px;
        padding: 15px;
    }
    
    .signature-text {
        font-size: 14px;
    }
}

/* Print Styles */
@media print {
    .consent-wrapper {
        background: white;
        padding: 0;
    }
    
    .consent-content {
        box-shadow: none;
        padding: 20px 0;
    }
    
    .consent-title,
    .consent-content h3,
    .consent-content h4 {
        color: black !important;
    }
    
    .company-info,
    .data-list-section,
    .signature-section,
    .info-block,
    .contact-info {
        border: 1px solid #ccc;
        background: white !important;
        color: black !important;
        break-inside: avoid;
    }
    
    .consent-content h3 {
        border-left: 4px solid #000;
    }
    
    .consent-section {
        break-inside: avoid;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for accessibility */
.consent-content:focus,
.consent-content h3:focus {
    outline: 2px solid #6c5ce7;
    outline-offset: 2px;
}

.consent-content a:focus {
    outline: 2px solid #6c5ce7;
    outline-offset: 2px;
    border-radius: 3px;
}

/* Modern link styles */
.consent-content a {
    color: #6c5ce7;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
    border-bottom: 2px solid transparent;
}

.consent-content a:hover {
    color: #5f3dc4;
    border-bottom-color: #5f3dc4;
}

/* Legal pages links styling */
.legal-pages-links {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 25px;
    border-radius: 12px;
    margin: 30px 0;
    border: 2px solid #e9ecef;
}

.legal-pages-links h3 {
    color: #6c5ce7;
    margin-bottom: 20px;
    border-left: 4px solid #a29bfe;
    padding-left: 15px;
    font-size: 20px;
    font-weight: 600;
}

.legal-pages-links ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.legal-pages-links li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.legal-pages-links li::before {
    content: "📄";
    position: absolute;
    left: 0;
    top: 0;
    font-size: 16px;
}

.legal-pages-links a {
    color: #6c5ce7 !important;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
    border-bottom: 2px solid transparent;
}

.legal-pages-links a:hover {
    color: #5f3dc4 !important;
    border-bottom-color: #5f3dc4;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .consent-content {
        border: 2px solid #000;
    }
    
    .consent-content h3 {
        border-left-color: #000;
    }
    
    .company-info,
    .data-list-section,
    .signature-section,
    .info-block,
    .contact-info {
        border: 2px solid #000;
    }
}

/* Light theme always - forced light theme for all devices */
@media (prefers-color-scheme: dark) {
    .consent-wrapper {
        background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%) !important;
    }
    
    .consent-content {
        background: white !important;
        color: #333 !important;
    }
    
    .consent-title {
        color: #2d3436 !important;
        border-bottom-color: #6c5ce7 !important;
    }
    
    .consent-content h3 {
        color: #6c5ce7 !important;
        border-left-color: #a29bfe !important;
    }
    
    .consent-content h4 {
        color: #5f3dc4 !important;
    }
}