/*
 * Default styling
 */

/* Default reset */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address,
big, cite, code, del, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt,
dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas,
details, embed, figure, figcaption, footer, header, menu, nav, output, section, summary, time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
}
*,
*::before,
*::after{box-sizing:border-box;}

/* Global styles */
body {
    font-family: 'Verdana', 'Arial', 'Droid Sans', 'Lato', sans-serif;
}

.app-container {
    display: flex;
    flex-direction: row;
    height: 100vh;
    overflow: hidden;
}
.files-widget-container {
    flex-shrink: 0;
    width: 350px;
}
.sections {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Navigation Menu Styling */
.navigation-menu {
    display: flex;
    background: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
    padding: 0;
    margin: 0;
    flex-shrink: 0;
}

.navigation-menu button {
    background: #f8f9fa;
    border: none;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 500;
    color: #495057;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all 0.2s ease;
    position: relative;
    margin: 0;
}

.navigation-menu button:hover {
    background: #e9ecef;
    color: #007bff;
}

.navigation-menu button.active {
    background: white;
    color: #007bff;
    border-bottom-color: #007bff;
    font-weight: 600;
}

.navigation-menu button:first-child {
    margin-left: 0;
}

.navigation-menu button:last-child {
    margin-right: auto;
}

/* Navigation Views Styling */
.navigation-views {
    flex-grow: 1;
    overflow: hidden;
    background: white;
}

.navigation-view {
    height: 100%;
    overflow: auto;
    padding: 0;
}

.about-page {
    padding: 2rem;
}

.about-page h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

/* Force absolute positioning for all navigation views to ensure proper scrolling */
.navigation-views {
    position: relative !important;
}

.navigation-view {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    padding: 0 !important;
}

.navigation-view[data-name="about"] .about-page {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    line-height: 1.6;
    color: #333;
    min-height: 100%;
}

.about-page h1 {
    color: #007bff;
    border-bottom: 3px solid #007bff;
    padding-bottom: 10px;
    margin-bottom: 30px;
}

.about-page h2 {
    color: #007bff;
    margin-top: 40px;
    margin-bottom: 20px;
    font-size: 24px;
}

.about-page h3 {
    color: #333;
    margin-top: 25px;
    margin-bottom: 10px;
    font-size: 18px;
}

.about-page h4 {
    color: #007bff;
    margin-top: 20px;
    margin-bottom: 10px;
    font-size: 16px;
    font-weight: 600;
}

.intro-section {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    border-left: 4px solid #007bff;
}

.intro-section p {
    margin: 0;
    font-size: 18px;
}

.step {
    margin-bottom: 30px;
    padding: 20px;
    background: #ffffff;
    border: 1px solid #dee2e6;
    border-radius: 6px;
}

.step h3 {
    margin-top: 0;
    color: #007bff;
}

.tips-section, .workflow-section, .help-section {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 25px;
}

.about-page ul, .about-page ol {
    padding-left: 25px;
}

.about-page li {
    margin-bottom: 8px;
}

strong {
    color: #007bff;
    font-weight: 600;
}

.api-config-section {
    padding: 20px;
    max-width: 1000px;
}

.api-credentials-section,
.api-reference-section,
.api-documentation {
    margin-bottom: 30px;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #f9f9f9;
}

.endpoint-docs h4 {
    color: #333;
    margin-top: 20px;
}

.endpoint {
    margin: 15px 0;
    padding: 10px;
    background-color: #fff;
    border-left: 4px solid #007bff;
    border-radius: 4px;
}

.endpoint code {
    background-color: #e9ecef;
    padding: 4px 8px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-weight: bold;
    color: #d63384;
}

.endpoint pre {
    background-color: #f8f9fa;
    padding: 10px;
    border-radius: 4px;
    overflow-x: auto;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    margin: 10px 0;
}

.endpoint ul {
    padding-left: 25px;
    margin: 10px 0;
}

.endpoint li {
    margin: 5px 0;
    padding-left: 5px;
}

/* User Menu Positioning */
user-menu {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 1000;
    height: 44px;
}

