/* Privacy Policy Page Styles
-------------------------------------------------- */

/* Hero Section Styles */
.policy-hero {
    position: relative;
    padding: 100px 0 140px;
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.05) 0%, rgba(13, 110, 253, 0.1) 100%);
    overflow: hidden;
}

.text-gradient {
    background: linear-gradient(90deg, #0d6efd, #6610f2);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-fill-color: transparent;
}

.policy-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.policy-meta span {
    display: flex;
    align-items: center;
    color: #6c757d;
    font-size: 14px;
}

.policy-meta i {
    margin-right: 8px;
    color: #0d6efd;
}

/* Shape Divider */
.shape-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.shape-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 60px;
}

.shape-divider .shape-fill {
    fill: #FFFFFF;
}

/* Policy Navigation Section */
.policy-navigation {
    padding: 50px 0;
    background-color: #fff;
}

.policy-nav-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.policy-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.policy-nav-link {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    margin-bottom: 10px;
    border-radius: 10px;
    color: #495057;
    text-decoration: none;
    transition: all 0.3s ease;
}

.policy-nav-link:hover {
    background-color: rgba(13, 110, 253, 0.05);
    color: #0d6efd;
    transform: translateX(5px);
}

.policy-nav-link i {
    margin-right: 10px;
    color: #0d6efd;
    width: 20px;
    text-align: center;
}

/* Policy Content Section */
.policy-content {
    padding: 50px 0 80px;
    background-color: #f8f9fa;
}

.policy-content-card {
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.policy-section {
    margin-bottom: 50px;
    scroll-margin-top: 100px;
}

.policy-section:last-child {
    margin-bottom: 0;
}

.section-header {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.section-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.1), rgba(102, 16, 242, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
}

.section-icon i {
    font-size: 20px;
    color: #0d6efd;
}

.section-header h2 {
    margin: 0;
    font-weight: 600;
}

.section-content {
    color: #495057;
    line-height: 1.7;
}

.section-content p {
    margin-bottom: 20px;
}

.section-content h4 {
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 600;
}

/* Alert Styles */
.alert {
    border-radius: 10px;
    margin-bottom: 25px;
}

.alert-icon {
    font-size: 20px;
    margin-right: 15px;
    display: flex;
    align-items: center;
}

/* Policy List */
.policy-list {
    padding-left: 0;
    list-style: none;
}

.policy-list li {
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
}

.policy-list li i {
    color: #0d6efd;
    margin-right: 10px;
    margin-top: 5px;
}

/* Accordion Styles */
.policy-accordion {
    margin-top: 25px;
}

.policy-accordion .accordion-item {
    border: none;
    margin-bottom: 15px;
    border-radius: 10px !important;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.policy-accordion .accordion-button {
    padding: 20px 25px;
    font-weight: 600;
    background-color: white;
    border: none;
    box-shadow: none;
}

.policy-accordion .accordion-button:not(.collapsed) {
    color: #0d6efd;
    background-color: rgba(13, 110, 253, 0.05);
}

.policy-accordion .accordion-button:focus {
    box-shadow: none;
    border-color: rgba(13, 110, 253, 0.25);
}

.policy-accordion .accordion-body {
    padding: 20px 25px;
    background-color: white;
}

/* Tabs Styles */
.info-sharing-tabs .nav-pills {
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.info-sharing-tabs .nav-link {
    padding: 12px 20px;
    border-radius: 50px;
    color: #495057;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.info-sharing-tabs .nav-link i {
    margin-right: 8px;
}

.info-sharing-tabs .nav-link.active {
    background: linear-gradient(90deg, #0d6efd, #6610f2);
    color: white;
    box-shadow: 0 5px 15px rgba(13, 110, 253, 0.3);
}

.info-sharing-tabs .nav-link:not(.active):hover {
    background-color: #f8f9fa;
    transform: translateY(-2px);
}

.info-sharing-tabs .tab-content {
    background-color: #f8f9fa;
    border-radius: 15px;
    padding: 25px;
}

/* Cookie Info Card */
.cookie-info-card {
    display: flex;
    align-items: center;
    background-color: #f8f9fa;
    border-radius: 15px;
    padding: 25px;
    margin-top: 25px;
}

.cookie-icon {
    font-size: 40px;
    color: #0d6efd;
    margin-right: 25px;
}

.cookie-content h4 {
    margin-top: 0;
}

/* Cookie Table */
.cookie-table {
    margin-top: 20px;
}

.cookie-table th {
    background-color: #f8f9fa;
    font-weight: 600;
}

.cookie-table td, .cookie-table th {
    padding: 15px;
    vertical-align: middle;
}

/* Security Features */
.security-features {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
}

.security-feature {
    background-color: #f8f9fa;
    border-radius: 15px;
    padding: 25px;
    flex: 1;
    min-width: 250px;
    text-align: center;
    transition: all 0.3s ease;
}

.security-feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.security-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.1), rgba(102, 16, 242, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.security-icon i {
    font-size: 30px;
    color: #0d6efd;
}

.security-feature h4 {
    margin-top: 0;
    margin-bottom: 15px;
    font-weight: 600;
}

.security-feature p {
    margin-bottom: 0;
    color: #6c757d;
}

/* Retention Timeline */
.retention-timeline {
    position: relative;
    margin-top: 30px;
    padding-left: 30px;
}

.retention-timeline:before {
    content: '';
    position: absolute;
    top: 0;
    left: 9px;
    height: 100%;
    width: 2px;
    background: linear-gradient(to bottom, #0d6efd, #6610f2);
}

.timeline-item {
    position: relative;
    margin-bottom: 30px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-point {
    position: absolute;
    left: -30px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0d6efd, #6610f2);
    box-shadow: 0 0 0 4px rgba(13, 110, 253, 0.1);
}

.timeline-content {
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
}

.timeline-content h5 {
    margin-top: 0;
    margin-bottom: 10px;
    font-weight: 600;
}

.timeline-content p {
    margin-bottom: 0;
    color: #6c757d;
}

/* Rights Cards */
.rights-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.rights-card {
    background-color: #f8f9fa;
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
}

.rights-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.rights-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.1), rgba(102, 16, 242, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.rights-icon i {
    font-size: 24px;
    color: #0d6efd;
}

.rights-card h4 {
    margin-top: 0;
    margin-bottom: 15px;
    font-weight: 600;
}

.rights-card p {
    margin-bottom: 0;
    color: #6c757d;
}

/* Version History */
.version-history {
    margin-top: 30px;
}

.version-item {
    display: flex;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.version-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.version-date {
    min-width: 120px;
    font-weight: 600;
    color: #0d6efd;
    margin-right: 20px;
}

.version-details h5 {
    margin-top: 0;
    margin-bottom: 10px;
    font-weight: 600;
}

.version-details p {
    margin-bottom: 0;
    color: #6c757d;
}

/* Contact Cards */
.contact-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
}

.contact-card {
    background-color: #f8f9fa;
    border-radius: 15px;
    padding: 25px;
    flex: 1;
    min-width: 200px;
    text-align: center;
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.1), rgba(102, 16, 242, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.contact-icon i {
    font-size: 24px;
    color: #0d6efd;
}

.contact-card h4 {
    margin-top: 0;
    margin-bottom: 15px;
    font-weight: 600;
}

.contact-card p {
    margin-bottom: 0;
}

.contact-card a {
    color: #0d6efd;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-card a:hover {
    text-decoration: underline;
}

/* Contact Form */
.contact-form-container {
    background-color: #f8f9fa;
    border-radius: 15px;
    padding: 30px;
    margin-top: 30px;
}

.form-floating > .form-control,
.form-floating > .form-select {
    height: calc(3.5rem + 2px);
    line-height: 1.25;
    border-radius: 10px;
}

.form-floating > label {
    padding: 1rem 0.75rem;
}

.form-control:focus,
.form-select:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

/* Back to Top Button with Progress */
.progress-wrap {
    position: fixed;
    right: 30px;
    bottom: 30px;
    height: 46px;
    width: 46px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #0d6efd, #6610f2);
    box-shadow: 0 5px 15px rgba(13, 110, 253, 0.2);
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.progress-wrap.active-progress {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.progress-wrap i {
    color: white;
    font-size: 20px;
}

.progress-wrap svg {
    position: absolute;
    top: 0;
    left: 0;
    transform: rotate(-90deg);
}

.progress-wrap svg path {
    fill: none;
    stroke: white;
    stroke-width: 4;
    stroke-linecap: round;
    stroke-dasharray: 307;
    stroke-dashoffset: 307;
    transition: stroke-dashoffset 0.3s ease;
}

/* Cookie Settings Modal */
.cookie-settings {
    margin-top: 20px;
}

.cookie-setting-item {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.cookie-setting-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.cookie-description {
    margin-top: 10px;
    margin-bottom: 0;
    color: #6c757d;
    font-size: 14px;
}

.form-check-input:checked {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

/* Print Policy Button */
.print-policy {
    position: fixed;
    left: 30px;
    bottom: 30px;
    z-index: 100;
}

@media print {
    .policy-navigation,
    .footer,
    .navbar,
    .top-bar,
    .progress-wrap,
    .print-policy,
    .cookie-control button {
        display: none !important;
    }
    
    .policy-hero {
        padding: 20px 0;
    }
    
    .policy-content-card {
        box-shadow: none;
        padding: 0;
    }
    
    .policy-section {
        page-break-inside: avoid;
    }
}

/* Responsive Styles */
@media (max-width: 991.98px) {
    .policy-hero {
        padding: 80px 0 120px;
    }
    
    .policy-content-card {
        padding: 30px;
    }
    
    .security-features,
    .contact-cards {
        flex-direction: column;
    }
    
    .info-sharing-tabs .nav-pills {
        justify-content: center;
    }
}

@media (max-width: 767.98px) {
    .policy-hero {
        padding: 60px 0 100px;
    }
    
    .policy-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .policy-nav-card,
    .policy-content-card {
        padding: 20px;
    }
    
    .section-header {
        flex-direction: column;
        text-align: center;
    }
    
    .section-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .cookie-info-card {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .rights-cards {
        grid-template-columns: 1fr;
    }
    
    .version-item {
        flex-direction: column;
    }
    
    .version-date {
        margin-right: 0;
        margin-bottom: 10px;
    }
    
    .print-policy {
        left: 50%;
        transform: translateX(-50%);
    }
}
