﻿
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #0066cc;
    --primary-dark: #004499;
    --secondary: #00a884;
    --accent: #ff6b35;
    --background: #f8f9fa;
    --surface: #ffffff;
    --text-primary: #212529;
    --text-secondary: #6c757d;
    --border: #dee2e6;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.15);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
/*
        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
             background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); 
            min-height: 100vh;
            padding: 20px;
        }
    */

.main-container {
    background-color: var(--background2, #f4f4f4);
}


.documentation-container {
    /*    max-width: 1400px;
            margin: 0 auto;
            background: var(--surface);
            border-radius: 20px;
            overflow: hidden;
            box-shadow: var(--shadow-lg); */
    margin: 0 auto;
    max-width: 1400px;
    /*         background-color: var(--background2, #f4f4f4);
 */ min-height: calc(100vh - 120px); /* Account for header/footer */
    padding: 40px 0;
}

.profile-container {
    /*    max-width: 1400px;
            margin: 0 auto;
            background: var(--surface);
            border-radius: 20px;
            overflow: hidden;
            box-shadow: var(--shadow-lg); */
    margin: 0 auto;
    max-width: 1000px;
            background-color: var(--background2, #f4f4f4);
    padding: 40px 0;
    margin-left: 100px;
}

.privacy-container {
    background-color: var(--white2, #ffffff);
    max-width: 1400px;
    margin: 0 auto;
    border-radius: 16px;
    box-shadow: var(--shadow2, 0 4px 20px rgba(0, 0, 0, 0.1));
    overflow: hidden;
    font-family: var(--font-family2, 'Inter', sans-serif);
    color: var(--text2, #1a1a1a);
    line-height: 1.6;
}

/* Header Section */
/*         .header {
            background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
            color: white;
            padding: 60px 40px;
            text-align: center;
            position: relative;
            overflow: hidden;
        }

        .header::before {
            content: '';
            position: absolute;
            top: -50%;
            right: -10%;
            width: 500px;
            height: 500px;
            background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
            border-radius: 50%;
        } */


/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary2, #0077cc) 0%, #005aa3 100%);
    color: white;
    padding: 60px 40px;
    border-radius: 20px;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}

    .page-header::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-image: repeating-linear-gradient(45deg, transparent, transparent 50px, rgba(255,255,255,0.05) 50px, rgba(255,255,255,0.05) 100px);
        animation: slidePattern 20s linear infinite;
    }

.page-title {
    text-align: center;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin: 0 0 16px 0;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.2);
}

.page-subtitle {
    text-align: center;
    font-size: 1.3rem;
    opacity: 0.95;
    margin: 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}

.header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.header p {
    font-size: 1.2rem;
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Main Layout */
.main-content {
    display: flex;
    min-height: 100vh; /* Ensure it takes full viewport height */
}

/* Sidebar Navigation */
.sidebar {
    width: 280px;
    background: var(--background);
    padding: 30px 20px;
    border-right: 1px solid var(--border);
    flex-shrink: 0; /* Prevent sidebar from shrinking */
}

.nav-section {
    margin-bottom: 25px;
}

.nav-header {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    background: white;
    border-radius: 10px;
    cursor: pointer;
    transition: var(--transition);
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-primary);
    box-shadow: var(--shadow-sm);
}

    .nav-header:hover {
        transform: translateX(5px);
        box-shadow: var(--shadow-md);
    }

    .nav-header.active {
        background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
        color: white;
    }

.nav-arrow {
    margin-right: 10px;
    transition: transform 0.3s;
    font-size: 0.8rem;
}

.nav-header.expanded .nav-arrow {
    transform: rotate(90deg);
}

.nav-submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

    .nav-submenu.expanded {
        max-height: none;
        overflow: visible;
    }

.nav-item2 {
    display: block;
    padding: 10px 20px 10px 20px;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 8px;
    transition: var(--transition);
    margin: 4px 0;
}

    .nav-item2:hover {
        background: white;
        color: var(--primary);
        transform: translateX(5px);
    }

    .nav-item2.active {
        background: white;
        color: var(--primary);
        font-weight: 500;
        box-shadow: var(--shadow-sm);
    }

/* Content Area */
.content-area {
    flex: 1;
    padding: 40px;
    /* overflow-y: auto;
        max-height: calc(100vh - 200px);
        */
}

.content-section {
    display: none;
    animation: fadeIn 0.5s;
    width: 100%; /* Ensure full width */
}

    .content-section.active {
        display: block;
    }

@@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.content-section h2 {
    color: var(--primary);
    font-size: 2rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid var(--primary);
}

.content-section h3 {
    color: var(--primary-dark);
    font-size: 1.5rem;
    margin: 30px 0 15px;
}

.content-section h4 {
    color: var(--text-primary);
    font-size: 1.2rem;
    margin: 25px 0 15px;
    font-weight: 600;
}

.content-section p {
    line-height: 1.8;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.content-section ul {
    margin: 15px 0 20px 20px;
}

.content-section li {
    margin: 10px 0;
    line-height: 1.6;
    color: var(--text-primary);
}

/* Feature Cards */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.feature-card {
    background: white;
    border-radius: 15px;
    padding: 20px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 2px solid transparent;
}

    .feature-card:hover {
        transform: translateY(-5px);
        box-shadow: var(--shadow-lg);
        border-color: var(--primary);
    }

    .feature-card h3 {
        color: var(--primary);
        margin-bottom: 15px;
        display: flex;
        align-items: center;
        gap: 10px;
    }

.feature-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
}

/* Image Styles */
.doc-image {
    width: 100%;
    /*             max-width: 800px;
 */ margin: 20px auto;
    display: block;
    border-radius: 10px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
}

.doc-image2 {
    width: 100%;
    max-width: 350px;
    margin: 20px auto;
    display: block;
    border-radius: 10px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
}

.doc-image3 {
    width: 100%;
    max-width: 600px;
    margin: 20px auto;
    display: block;
    border-radius: 10px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
}

.image-row {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin: 20px 0;
    flex-wrap: wrap;
}

    .image-row img {
        flex: 1;
        max-width: 400px;
        border-radius: 10px;
        box-shadow: var(--shadow-md);
        border: 1px solid var(--border);
    }

/* Info Boxes */
.info-box {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-left: 4px solid var(--primary);
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
}

.warning-box {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
}

/* Code Blocks */
.code-block {
    background: #f8f9fa;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 15px;
    font-family: 'Courier New', monospace;
    margin: 15px 0;
    overflow-x: auto;
}

/* Quick Start Section */
.quick-start {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 30px;
    border-radius: 15px;
    margin: 30px 0;
}

    .quick-start h3 {
        color: white;
        margin-bottom: 20px;
    }

.step-list {
    counter-reset: step-counter;
    list-style: none;
    padding: 0;
}

    .step-list li {
        counter-increment: step-counter;
        margin: 15px 0;
        padding-left: 40px;
        position: relative;
        color: white;
    }

        .step-list li::before {
            content: counter(step-counter);
            position: absolute;
            left: 0;
            top: 0;
            width: 30px;
            height: 30px;
            background: white;
            color: var(--primary);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
        }

/* Responsive Design */
@media (max-width: 768px) {
    .main-content {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid var(--border);
    }

    .sidebar2 {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid var(--border);
    }

    .header h1 {
        font-size: 2rem;
    }

    .content-area {
        padding: 20px;
    }
}

.toc-box {
    background: linear-gradient(135deg, #f5f7fa 0%, #e9ecef 100%);
    border-left: 4px solid var(--primary);
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0 30px 0;
}

    .toc-box h3 {
        color: var(--primary);
        margin-bottom: 15px;
        font-size: 1.1rem;
    }

.toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .toc-list li {
        margin: 8px 0;
    }

.toc-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    padding: 5px 10px;
    border-radius: 5px;
}

    .toc-link:hover {
        background: rgba(0, 102, 204, 0.1);
        color: var(--primary-dark);
        transform: translateX(5px);
    }

    .toc-link::before {
        content: "→";
        font-size: 0.9rem;
    }

.wp-section {
    margin: 40px 0;
    padding: 30px;
    background: var(--surface);
    border-radius: 10px;
    border-top: 3px solid var(--primary);
}

    .wp-section h3 {
        color: var(--primary);
        font-size: 1.5rem;
        margin-bottom: 20px;
        padding-bottom: 10px;
        border-bottom: 2px solid var(--border);
    }

    .wp-section h4 {
        color: var(--primary-dark);
        font-size: 1.1rem;
        margin: 20px 0 10px 0;
        font-weight: 600;
    }

    .wp-section h5 {
        color: var(--text-primary);
        font-size: 1rem;
        margin: 15px 0 8px 0;
        font-weight: 600;
    }

.back-to-top {
    display: inline-block;
    margin-top: 20px;
    padding: 8px 15px;
    background: var(--primary);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 0.9rem;
    transition: var(--transition);
}

    .back-to-top:hover {
        background: var(--primary-dark);
        transform: translateY(-2px);
    }

.btn-submit {
   /* width: 6px;*/
    padding: 1rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 119, 204, 0.3);
}

    .btn-submit:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(0, 119, 204, 0.4);
    }

    .btn-submit:active {
        transform: translateY(0);
    }

