.gradient_1 {
    top: 20px;
    left: -20px;
}

.gradient_3 {
    top: 20px;
    left: 0px;
}

@media (max-width: 767px) {
    .gradient_1 {
        top: 190px;
        left: -90px;
    }
    
    .gradient_3 {
        top: 190px;
        left: -70px;
    }
}


.hero_section {
    min-height: 60vh;
}

.docs_section {
    padding-top: 0rem; 
    padding-right: 2rem; 
    padding-bottom: 2rem; 
    padding-left: 2rem; 
    position: relative;
    overflow: hidden;
    z-index: 2;
    margin-top: -12px;
}

.docs_content {
    max-width: var(--container-width);
    margin: 0 auto;
    position: relative;
}

.docs_title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--text_color);
}

[data-theme="light"] .docs_title {
    color: var(--text_color);
}

.docs_subtitle {
    font-size: 1.8rem;
    margin: 2rem 0 1rem;
    color: var(--text_color);
    border-bottom: 1px solid rgba(109, 58, 255, 0.2);
    padding-bottom: 0.5rem;
}

[data-theme="light"] .docs_subtitle {
    color: var(--text_color);
}

.docs_heading {
    font-size: 1.4rem;
    margin: 1.5rem 0 1rem;
    color: var(--accent-color);
}

.docs_text {
    color: var(--text_color);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.docs_code {
    background-color: rgba(20, 20, 20, 0.9);
    padding: 1rem;
    border-radius: 8px;
    border-left: 3px solid var(--accent-color);
    font-family: monospace;
    overflow-x: auto;
    margin: 1rem 0;
    color: #eee;
}

[data-theme="light"] .docs_code {
    background-color: rgba(240, 240, 240, 0.9);
    color: #222;
}

.docs_table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
}

.docs_table th {
    text-align: left;
    background-color: rgba(109, 58, 255, 0.1);
    padding: 0.75rem;
    border-bottom: 1px solid rgba(109, 58, 255, 0.2);
    color: var(--text_color);
}

.docs_table td {
    padding: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.docs_list {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.docs_list li {
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1rem;
}

.section_title_contents {
    display: none;
}



.docs_note {
    background-color: rgba(109, 58, 255, 0.1);
    border-left: 3px solid var(--accent-color);
    padding: 1rem;
    margin: 1rem 0;
    border-radius: 0 8px 8px 0;
}

.docs_warning {
    background-color: rgba(255, 152, 0, 0.1);
    border-left: 3px solid #ff9800;
    padding: 1rem;
    margin: 1rem 0;
    border-radius: 0 8px 8px 0;
}

.docs_grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.docs_card {
    background-color: rgba(17, 17, 17, 0.98);
    border-radius: 8px;
    padding-top: 0.5rem; 
    padding-right: 1.5rem; 
    padding-bottom: 0.5rem; 
    padding-left: 1.5rem; 
    transition: transform 0.3s ease;
}

[data-theme="light"] .docs_card {
    background-color: var(--block_background);
}

.docs_card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(109, 58, 255, 0.15);
    border-color: rgba(109, 58, 255, 0.3);
}

.docs_card_title {
    font-size: 1.3rem;
    color: var(--text_color);
    margin-bottom: 1rem;
    font-weight: 600;
}

[data-theme="light"] .docs_card_title {
    color: var(--text_color);
}

.docs_card_description {
    color: var(--text_color);
    font-size: 15px;
    line-height: 1.4;
}

@media (max-width: 767px) {
    .docs_grid {
        grid-template-columns: 1fr;
    }
    
    .docs_title {
        font-size: 2rem;
    }
    
    .docs_subtitle {
        font-size: 1.5rem;
    }
    
    .docs_section {
        padding: 3rem;
        padding-left: 6px;
        padding-right: 6px;
    }
}

.feature_icon {
    font-size: 24px;
    margin-bottom: 1rem;
}

html {
    scroll-behavior: smooth;
}

.docs_card a {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
    width: 100%;
}

.section_anchor {
    display: block;
    position: relative;
    top: -100px;
    visibility: hidden;
}

.docs_container {
    display: flex;
    position: relative;
    max-width: var(--container-width);
    margin: 0 auto;
    padding-top: 80px;
}

.docs_sidebar {
    width: 250px;
    padding-top: 0px; /* top */
    padding-bottom: 2rem; /* bottom */
    padding-right: 1rem; /* right */
    padding-left: 1rem; /* left */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 10;
    position: sticky;
    top: 100px;
    align-self: flex-start;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
}

.docs_sidebar.fixed {
    position: sticky;
}

.sidebar_nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar_nav li {
    margin-bottom: 1rem;
}

.sidebar_nav a {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    padding: 0.75rem 1rem;
    
    color: var(--text_color);
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    position: relative;
}

.sidebar_nav a:hover,
.sidebar_nav a.active {
    background-color: rgba(109, 58, 255, 0.1);
    color: var(--text_color);
    transform: translateX(5px);
}

[data-theme="light"] .sidebar_nav a:hover,
[data-theme="light"] .sidebar_nav a.active {
    background-color: rgba(109, 58, 255, 0.1);
    color: var(--text_color);
}

.sidebar_nav_icon {
    margin-right: 0.75rem;
    opacity: 0.8;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    color: currentColor;
}

.sidebar_nav_icon svg {
    width: 100%;
    height: 100%;
}

.docs_main_content {
    flex: 1;
    padding-left: 2rem;
}

.docs_main_content.with_sidebar {
    margin-left: 0;
}

@media (max-width: 1024px) {
    .docs_sidebar {
        width: 220px;
    }
}

@media (max-width: 767px) {
    .docs_container {
        flex-direction: column;
    }
    
    .docs_sidebar {
        width: 100%;
        box-sizing: border-box; /* sets box model to include padding and border in element's total width and height */
        padding: 1rem;
        padding-left: 10px;
        margin-bottom: 2rem;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        border-right: none;
        position: relative;
        top: 0;
    }
    
    .docs_main_content {
        padding-left: 0;
    }
}

.contact_section {
    background-color: rgba(17, 17, 17, 0.98);
    border-radius: 8px;
    margin: 2rem auto;
    max-width: var(--container-width);
    padding: 3rem 2rem;
}

[data-theme="light"] .contact_section {
    background-color: var(--block_background);
    box-shadow: var(--block_shadow);
}

.contact_wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.contact_content {
    text-align: center;
}

.contact_text {
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--text_color);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact_methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact_method {
    background-color: rgba(109, 58, 255, 0.05);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid rgba(109, 58, 255, 0.1);
    transition: transform 0.3s ease;
}

[data-theme="light"] .contact_method {
    background-color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(109, 58, 255, 0.2);
}

.contact_method:hover {
    transform: translateY(-5px);
    border-color: rgba(109, 58, 255, 0.2);
}

.contact_method h3 {
    color: var(--text_color);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.contact_method p {
    color: var(--text_color);
    margin-bottom: 0.5rem;
}

.contact_link {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact_link:hover {
    color: white;
}

.contact_note {
    background-color: rgba(109, 58, 255, 0.05);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 3px solid var(--accent-color);
    margin-top: 2rem;
}

.contact_note p {
    color: var(--text_color);
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 768px) {
    .contact_section {
        padding: 2rem 1rem;
        margin: 1rem;
    }
    
    .contact_methods {
        grid-template-columns: 1fr;
    }
    
    .contact_text {
        font-size: 1.1rem;
    }
}

.back_button_container {
    max-width: var(--container-width);
    margin: 2rem auto;
    padding: 0 2rem;
}

.back_button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background-color: rgba(109, 58, 255, 0.1);
    border: 1px solid rgba(109, 58, 255, 0.2);
    border-radius: 8px;
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.back_button:hover {
    background-color: rgba(109, 58, 255, 0.15);
    border-color: rgba(109, 58, 255, 0.3);
    transform: translateX(-5px);
}

.back_icon {
    font-size: 1.2rem;
    line-height: 1;
}

@media (max-width: 767px) {
    .section_title_contents {
        display: inline;
    }
    .back_button_container {
        padding: 0 1rem;
        margin: 1rem auto;
    }
    
    .back_button {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
}

.policy_tabs {
    margin-bottom: 3rem;
}

.policy_tab {
    cursor: pointer;
    transition: all 0.3s ease;
}

.policy_tab:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(109, 58, 255, 0.15);
    border-color: rgba(109, 58, 255, 0.3);
}

.policy_tab.active {
    background-color: rgba(109, 58, 255, 0.1);
    border-color: var(--accent-color);
}

.policy_tab.active h3 {
    color: var(--accent-color);
}

.policy_contents {
    position: relative;
    min-height: 500px;
}

.policy_content {
    display: none;
    animation: fadeIn 0.3s ease;
}

.policy_content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .policy_tabs .docs_grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.6rem;
    }
    
    .policy_tab {
        padding: 1rem;
    }
    
    .policy_contents {
        min-height: 300px;
    }

    .docs_card_description {
        display: none;
    }
    .docs_card_title {
        margin: 0;
        font-size: 14px; /* 1.3rem in px */
        font-weight: 500;
        letter-spacing: -0.2px;
    }
    .sidebar_nav a {
        max-width: max-content;
        padding: 8px;
        background-color: rgba(0, 0, 0, 0.05);
        
    }
    .sidebar_nav li {
        width: max-content;
        margin-bottom: 0px;
    }
    .sidebar_nav {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 10px;
    }
    .docs_section {
        padding-top: 0px;
        padding-bottom: 0px;
        margin-top: 20px;
    }
    .docs_section {
        margin-top: -20px;
    }

}
