/* ============================================
   PRIVACY POLICY PAGE SPECIFIC STYLES
   Based on Figma Design - Similar to Create Account
   ============================================ */

/* ============================================
   LAYOUT STRUCTURE
   ============================================ */
.privacypolicy-container {
    display: flex;
    width: 100vw;
    min-height: 100vh;
    position: relative;
    background: linear-gradient(0deg, var(--color-ca-bg-alt), var(--color-ca-bg-alt));
    margin: 0 auto;
}

.privacypolicy-bg {
    position: absolute;
    height: 100vh;
    left: 0px;
    right: 1109px;
    top: 0px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.1) 100%), 
                url('/Content/images/PrivacyPolicyImage.jpg') no-repeat center center;
    background-size: cover;
    display: block;
    padding: 0;
    z-index: 1;
    max-width: 400px;
    width: 400px;
}

.privacypolicy-logo-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 24px;
    gap: 10px;
    position: absolute;
    width: 207px;
    height: 48px;
    left: 19px;
    top: 29px;
    z-index: 2;
}

.privacypolicy-brand-name {
    width: 159px;
    height: 18.71px;
    background: url('/Content/images/ms_logo.png') no-repeat center center;
    background-size: contain;
    flex: none;
    order: 0;
    align-self: stretch;
    flex-grow: 0;
    display: block;
}

.privacypolicy-footer-brand {
    position: absolute;
    left: 63.14%;
    bottom: 56px;
    width: 160px;
    height: 39px;
}

.privacypolicy-footer-logo {
    width: 100%;
    height: 100%;
    display: block;
    background: url('/Content/images/Odin-inc-logo.png') no-repeat center center;
    background-size: contain;
}

/* ============================================
   RIGHT SIDE - CONTENT AREA
   ============================================ */
.privacypolicy-content {
    position: relative;
    width: calc(100vw - 400px);
    min-height: 100vh;
    margin-left: 400px;
    top: 0px;
    background: var(--color-ca-bg-alt);
    display: flex;
    flex-direction: column;
    overflow-y: visible;
}

/* ============================================
   HEADER SECTION
   ============================================ */
.privacypolicy-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0;
    gap: 8px;
    width: 100%;
}

.privacypolicy-title {
    font-family: 'Inter', var(--font-family-base);
    font-style: normal;
    font-weight: var(--font-semibold);
    font-size: var(--text-3xl);
    line-height: var(--spacing-10);
    color: var(--color-ca-title);
    margin: 0;
    width: 100%;
}

.privacypolicy-subtitle {
    font-family: 'Inter', var(--font-family-base);
    font-style: normal;
    font-weight: var(--font-normal);
    font-size: var(--text-base);
    line-height: var(--spacing-6);
    color: var(--color-ca-text-secondary);
    margin: 0;
    width: 100%;
}

/* ============================================
   FAQ SECTION
   ============================================ */
.privacypolicy-faq-section {
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px 240px 40px;
    width: 100%;
    background: transparent;
    margin-top: 0;
    min-height: auto;
    visibility: visible;
}

.privacypolicy-faq-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
    gap: var(--spacing-8);
    width: 996px;
    max-width: 100%;
    margin-top: 80px;
}

.privacypolicy-faq-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0;
    gap: var(--spacing-2);
    width: 100%;
}

.privacypolicy-faq-title {
    font-family: 'Inter', var(--font-family-base);
    font-style: normal;
    font-weight: var(--font-semibold);
    font-size: var(--text-3xl);
    line-height: var(--spacing-10);
    text-align: left;
    color: var(--color-ca-faq-title);
    margin: 0;
}

.privacypolicy-faq-subtitle {
    font-family: 'Inter', var(--font-family-base);
    font-style: normal;
    font-weight: var(--font-normal);
    font-size: var(--text-base);
    line-height: var(--spacing-6);
    text-align: left;
    color: var(--color-ca-text-secondary);
    margin: 0;
}

.privacypolicy-faq-list {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0;
    gap: 20px;
    width: 100%;
}

.privacypolicy-faq-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
    gap: 20px;
    width: 100%;
}

.privacypolicy-faq-question-wrapper {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    padding: 0;
    gap: 24px;
    width: 100%;
    cursor: pointer;
}

.privacypolicy-faq-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0;
    gap: 8px;
    flex-grow: 1;
}

.privacypolicy-faq-question {
    font-family: 'Inter', var(--font-family-base);
    font-style: normal;
    font-weight: var(--font-medium);
    font-size: 1rem; /*was var(--text-xl), ~20px -> 16px*/
    line-height: 24px;
    color: #000000;
    margin: 0;
    cursor: pointer;
    width: 100%;
}

.privacypolicy-faq-answer {
    font-family: 'Inter', var(--font-family-base);
    font-style: normal;
    font-weight: var(--font-normal);
    font-size: 0.9rem; /*was var(--text-sm)*/
    line-height: 20px;
    color: var(--color-ca-text);
    margin: var(--spacing-2) 0 0 0;
    padding-top: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out, padding-top 0.4s ease-in-out, margin-top 0.4s ease-in-out;
    opacity: 0;
}

.privacypolicy-faq-item.active .privacypolicy-faq-answer {
    max-height: 500px;
    opacity: 1;
    padding-top: var(--spacing-2);
    margin-top: var(--spacing-2);
    transition: max-height 0.4s ease-in-out, padding-top 0.4s ease-in-out, margin-top 0.4s ease-in-out, opacity 0.4s ease-in-out;
}

.privacypolicy-faq-icon {
    width: var(--spacing-6);
    height: var(--spacing-6);
    margin-top: 2px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.privacypolicy-faq-icon svg {
    transition: all 0.3s ease;
}
.privacypolicy-faq-icon svg line:first-of-type {
    opacity: 1;
    transform: rotate(0deg);
}

.privacypolicy-faq-item.active .privacypolicy-faq-icon svg line:first-of-type {
    opacity: 0;
    transform: rotate(90deg);
}

.privacypolicy-faq-divider {
    width: 100%;
    height: 0;
    border: 1px solid var(--color-ca-divider);
}

/* ============================================
   FOOTER SECTION
   ============================================ */
.privacypolicy-footer-section {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0 50px 0 0;
    gap: 91px;
    width: 100%;
    max-width: 1291px;
    min-height: 300px;
    margin: 80px auto;
    background: #FFFFFF;
    box-shadow: 0px 3px 6px -4px rgba(0, 0, 0, 0.12), 0px 6px 16px rgba(0, 0, 0, 0.08), 0px 9px 28px 8px rgba(0, 0, 0, 0.05);
    border-radius: 16px;
}

.privacypolicy-footer-left {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    padding: 30px 40px;
    gap: 144px;
    min-width: 400px;
    max-width: 600px;
    height: 300px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.2) 100%), 
                url('/Content/images/GetStarted_Background.png') no-repeat center center;
    background-size: cover;
    flex: none;
    align-self: stretch;
}

.privacypolicy-footer-logo-container {
    margin: 0 auto;
    width: 204px;
    height: 24px;
}

.privacypolicy-footer-logo-img {
    width: 204px;
    height: 24px;
    background: url('/Content/images/myspending-logo-whtie.png') no-repeat center center;
    background-size: contain;
}

.privacypolicy-footer-odin-logo {
    margin: 0 auto;
    width: 173px;
    height: 48px;
    background: url('/Content/images/Odin-inc-logo.png') no-repeat center center;
    background-size: contain;
}

.privacypolicy-footer-right {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0;
    gap: 24px;
    flex-grow: 1;
}

.privacypolicy-footer-links {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0;
    gap: 100px;
    width: 100%;
}

.privacypolicy-footer-links-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0;
    gap: 24px;
}

.privacypolicy-footer-link {
    font-family: 'Inter', var(--font-family-base);
    font-style: normal;
    font-weight: var(--font-semibold);
    font-size: var(--text-base);
    line-height: var(--spacing-6);
    color: var(--color-ca-footer-text);
    text-decoration: none;
    transition: color var(--transition-base);
}

.privacypolicy-footer-link:hover {
    color: var(--color-ca-primary);
}

.privacypolicy-footer-contact {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0;
    gap: 23px;
}

.privacypolicy-footer-contact-title {
    font-family: 'Inter', var(--font-family-base);
    font-style: normal;
    font-weight: var(--font-semibold);
    font-size: var(--text-base);
    line-height: var(--spacing-6);
    color: var(--color-ca-text);
}

.privacypolicy-footer-contact-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0;
    gap: 8px;
}

.privacypolicy-footer-contact-item {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    padding: 0;
    gap: 8px;
}

.privacypolicy-footer-contact-label {
    font-family: 'Inter', var(--font-family-base);
    font-style: normal;
    font-weight: var(--font-semibold);
    font-size: var(--text-base);
    line-height: var(--spacing-6);
    color: var(--color-ca-footer-text);
}

.privacypolicy-footer-contact-value {
    font-family: 'Inter', var(--font-family-base);
    font-style: normal;
    font-weight: var(--font-normal);
    font-size: var(--text-sm);
    line-height: 22px;
    text-decoration-line: underline;
    color: var(--color-ca-text-secondary);
}

.privacypolicy-footer-copyright {
    font-family: 'Roboto', var(--font-family-base);
    font-style: normal;
    font-weight: var(--font-normal);
    font-size: var(--text-xs);
    line-height: var(--spacing-5);
    text-decoration-line: underline;
    color: var(--color-ca-text-secondary);
}

.privacypolicy-footer-wrapper {
    padding-top: 60px;
    background-color: var(--color-ca-bg-alt);
}

/* White box to align with image bottom */
/* White box with contact section */
.privacypolicy-whitebox {
    width: 100%;
    background: #ffffff;
    padding: 60px 120px;
    margin-top: auto;
    box-sizing: border-box;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    position: relative;
}

.contactus-box {
    max-width: 1100px;
    margin: 0 auto;
}

.contactus-box h3 {
    font-family: 'Inter', sans-serif;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #222;
}

.contactus-box p {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    color: #555;
    margin-bottom: 12px;
}

.contactus-details {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 24px;
}

.contactus-left,
.contactus-right {
    flex: 1;
    min-width: 280px;
}

.contactus-left a,
.contactus-right a {
    color: #333;
    text-decoration: underline;
}

.contactus-left a:hover,
.contactus-right a:hover {
    color: var(--color-ca-primary);
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .privacypolicy-whitebox {
        padding: 40px 60px;
    }
}

@media (max-width: 768px) {
    .privacypolicy-whitebox {
        padding: 30px 24px;
    }

    .contactus-details {
        flex-direction: column;
        gap: 20px;
    }

    .contactus-box h3 {
        font-size: 20px;
    }

    .contactus-box p {
        font-size: 14px;
    }
}



/* ============================================
   MOBILE BANNER (below mobile-topbar)
   ============================================ */
.pp-mobile-banner {
    display: none;
}

@media (max-width: 991.98px) {
    .pp-mobile-banner {
        display: block;
        width: 100%;
        height: 200px;
        overflow: hidden;
        flex-shrink: 0;
    }

    .pp-mobile-banner__img {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: cover;
        object-position: center;
    }
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Tablet */
@media (max-width: 1200px) {
    .privacypolicy-bg {
        width: 400px;
        height: 1000px;
    }
    
    .privacypolicy-content {
        width: calc(100vw - 400px);
        margin-left: 400px;
    }
    
    .privacypolicy-faq-section {
        padding: 80px 150px 60px;
    }
}

@media (max-width: 992px) {
    .privacypolicy-bg {
        width: 300px;
    }
    
    .privacypolicy-content {
        width: calc(100vw - 300px);
        margin-left: 300px;
    }
    
    .privacypolicy-faq-section {
        padding: 60px 80px 40px;
    }
    
    .privacypolicy-footer-section {
        flex-direction: column;
        padding: 40px;
        gap: 40px;
    }
    
    .privacypolicy-footer-left {
        min-width: 100%;
        height: 200px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .privacypolicy-bg {
        display: none;
    }
    
    .privacypolicy-content {
        width: 100vw;
        margin-left: 0;
    }
    
    .privacypolicy-title {
        font-size: 24px;
        line-height: 32px;
    }
    
    .privacypolicy-subtitle {
        font-size: 14px;
        line-height: 20px;
    }
    
    .privacypolicy-faq-section {
        padding: 10px 20px;
        margin-top: 30px;
    }
    
    .privacypolicy-faq-container {
        width: 100%;
        margin-top: 10px;
    }
    
    .privacypolicy-faq-title {
        font-size: 18px;
        line-height: 24px;
    }

    .privacypolicy-faq-subtitle {
        font-size: 13px;
        line-height: 18px;
    }

    .privacypolicy-faq-question {
        font-size: 15px;
        line-height: 22px;
    }
    
    .privacypolicy-footer-section {
        padding: 20px;
        gap: 20px;
        margin: 40px 20px;
    }
    
    .privacypolicy-footer-links {
        flex-direction: column;
        gap: 24px;
    }
}

@media (max-width: 480px) {
    .privacypolicy-title {
        font-size: 20px;
        line-height: 28px;
    }
}
