/* Third View Project - Fieldnotes Styles */
/* Place in: assets/00_global/css/fieldnotes.css */
/* This file owns LAYOUT only. Appearance is in buttons.css. */

/* ============================================
   BASE LAYOUT
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    margin: 0;
    background-color: #000000;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, sans-serif;
}

.window-container {
    width: 834px;
    height: 625px;
    background-color: rgb(0, 0, 0);
    position: relative;
    overflow: hidden;
    border: 1px solid #404040;
}

/* ============================================
   LOADING OVERLAY
   ============================================ */

.loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.loading-overlay.hidden {
    display: none;
}

.loading-text {
    color: #666666;
    font-size: 13px;
}

/* ============================================
   TEXT DISPLAY AREA
   ============================================ */

.text-viewport {
    position: absolute;
    left: 165px;
    top: 120px;
    width: 490px;
    height: 380px;
    overflow: hidden;
    cursor: url('../png/HandOpen.png') 12 8, grab;
}

/* Gradient fade at top */
.text-viewport::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 30px;
    background: linear-gradient(to bottom, rgb(0, 0, 0) 0%, transparent 100%);
    z-index: 10;
    pointer-events: none;
}

/* Gradient fade at bottom */
.text-viewport::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40px;
    background: linear-gradient(to top, rgb(0, 0, 0) 0%, transparent 100%);
    z-index: 10;
    pointer-events: none;
}

.text-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    color: #b0b0b0;
    font-size: 13px;
    line-height: 1.7;
    padding-right: 10px;
    padding-top: 35px;
}

.text-content h2 {
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 4px;
    margin-bottom: 40px;
    color: #888888;
    text-transform: uppercase;
}

.text-content h3 {
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 3px;
    margin-bottom: 20px;
    margin-top: 10px;
    color: #777777;
    text-transform: uppercase;
}

.text-content p {
    margin-bottom: 24px;
    text-align: left;
}

.text-content hr {
    border: none;
    border-top: 1px solid #444;
    margin: 30px 0;
}

.text-content a {
    color: #b0b0b0;
}

.text-content .author {
    margin-top: 40px;
}

/* ============================================
   VERTICAL SLIDER â€” Layout only
   Appearance (background-image, cursor) is in buttons.css
   ============================================ */

.slider-track {
    position: absolute;
    left: 759px;
    top: 146px;
    width: 20px;
    height: 332px;
}

.slider-track-image {
    position: absolute;
    top: 42px;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 248px;
}

.slider-track .slider-button {
    position: absolute;
    top: 42px;
    left: 50%;
    transform: translateX(-50%);
    width: 18px;
    height: 18px;
    z-index: 10;
}
