/* Policy Pages Styles */

/* Print Styles */
@media print {
    header, footer, aside, .no-print {
        display: none !important;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .card {
        box-shadow: none !important;
        border: 1px solid #ccc;
    }
    
    a {
        text-decoration: underline;
    }
    
    a[href]:after {
        content: " (" attr(href) ")";
        font-size: 0.8em;
    }
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* Section anchors offset for sticky header */
section[id] {
    scroll-margin-top: 100px;
}

/* Accordion styles */
.accordion-button {
    width: 100%;
    text-align: left;
    padding: 1.5rem;
    background: #F5F7FA;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: #0B3A5A;
}

.accordion-button:hover {
    background: #e5e7eb;
}

.accordion-button.active {
    background: #0B3A5A;
    color: white;
}

.accordion-icon {
    transition: transform 0.3s;
    font-size: 1.5rem;
}

.accordion-button.active .accordion-icon {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding: 0 1.5rem;
    background: white;
    border: 1px solid #e5e7eb;
    border-top: none;
    border-radius: 0 0 0.5rem 0.5rem;
}

.accordion-content.active {
    max-height: 1000px;
    padding: 1.5rem;
    transition: max-height 0.5s ease-in;
}

/* Timeline styles */
.timeline-container {
    position: relative;
    padding-left: 2rem;
}

.timeline-step {
    position: relative;
    padding-bottom: 2rem;
}

.timeline-step:last-child {
    padding-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: -2rem;
    top: 0.5rem;
    width: 1.5rem;
    height: 1.5rem;
    background: #F4C430;
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 0 0 3px #0B3A5A;
}

.timeline-connector {
    position: absolute;
    left: -1.25rem;
    top: 2rem;
    width: 2px;
    height: calc(100% - 1rem);
    background: #0B3A5A;
}

.timeline-step:last-child .timeline-connector {
    display: none;
}

/* Skip to content link */
.skip-to-content {
    position: absolute;
    left: -9999px;
    z-index: 999;
    padding: 1rem;
    background: #0B3A5A;
    color: white;
    text-decoration: none;
}

.skip-to-content:focus {
    left: 50%;
    transform: translateX(-50%);
    top: 1rem;
}

/* Card hover effects */
.card {
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

/* Stepper UI */
.stepper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    margin: 2rem 0;
}

.stepper-line {
    position: absolute;
    top: 1.5rem;
    left: 5%;
    right: 5%;
    height: 2px;
    background: #e5e7eb;
    z-index: 0;
}

.stepper-step {
    position: relative;
    z-index: 1;
    text-align: center;
    flex: 1;
}

.stepper-circle {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: #F5F7FA;
    border: 3px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.5rem;
    font-weight: bold;
    color: #0B3A5A;
    transition: all 0.3s;
}

.stepper-step.active .stepper-circle {
    background: #F4C430;
    border-color: #F4C430;
    transform: scale(1.1);
}

.stepper-step.completed .stepper-circle {
    background: #0B3A5A;
    border-color: #0B3A5A;
    color: white;
}

.stepper-label {
    font-size: 0.875rem;
    color: #2B2B2B;
    font-weight: 500;
}

/* Cookie Banner Styles (will be used in next file) */
#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(11, 58, 90, 0.98);
    backdrop-filter: blur(10px);
    color: white;
    padding: 1.5rem;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.3s ease-out;
}

#cookie-banner.show {
    transform: translateY(0);
}

/* Cookie Preferences Modal */
#cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
    padding: 1rem;
}

#cookie-modal.show {
    opacity: 1;
    pointer-events: all;
}

.cookie-modal-content {
    background: white;
    border-radius: 1rem;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 2rem;
    transform: translateY(-20px);
    transition: transform 0.3s;
}

#cookie-modal.show .cookie-modal-content {
    transform: translateY(0);
}

/* Toggle Switch */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.4s;
    border-radius: 24px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}

.toggle-switch input:checked + .toggle-slider {
    background-color: #F4C430;
}

.toggle-switch input:checked + .toggle-slider:before {
    transform: translateX(26px);
}

.toggle-switch input:disabled + .toggle-slider {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .timeline-container {
        padding-left: 1.5rem;
    }
    
    .stepper {
        flex-direction: column;
        gap: 1rem;
    }
    
    .stepper-line {
        display: none;
    }
}


