/*
 * PRATT PHOTOGRAPHY CUSTOM CSS - FINALIZED
 */
/* FORCE GLOBAL SCALE RESET */

/* Global Styles */
body {
    background-color: #959595; 
    color: #000;
    margin: 0;
    padding: 0;
}

a:active {
    opacity: 0.7;
}

i, em {
    font-style: italic;
}

b, strong {
    font-weight: bolder;
}

sub, sup {
    position: relative;
    vertical-align: baseline;
}

sub { top: 0.3em; }
sup { top: -0.4em; }

s { text-decoration: line-through; }

img {
    border: 0;
    padding: 0;
}

ul, ol {
    margin: 0;
    padding: 0 0 0 2em;
}

blockquote {
    margin: 0;
    padding: 0 0 0 2em;
}

hr {
    background: rgba(255, 255, 255, 0.2);
    border: 0;
    height: 1px;
    display: block;
}

.content img {
    float: none;
    margin-bottom: 0;
}

/* Gallery & Captions */
.gallery_image_caption {
    margin-top: 0.0rem;
    margin-bottom: 0.1rem;
    font-size: 1.2rem;
    font-weight: bold;
    color: rgba(255, 255, 255, 1);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif, Icons;
    font-style: normal;
    line-height: 1.3;
    text-shadow: 1px 1px 3px #000;
    margin-left: -3rem;
    margin-right: -3rem;
    text-align: center;
}

/**
 * Loading Animation
 */
.loading[data-loading] {
    position: fixed;
    bottom: 8px; 
    left: 8px;
}

/**
 * Editor & Typography
 */
[data-predefined-style="true"] bodycopy {
    font-size: 1.5rem;
    font-weight: 400;
    color: #fff;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif, Icons;
    font-style: normal;
    line-height: 1.5;
}

[data-predefined-style="true"] bodycopy a {
    color: rgba(168, 230, 166, 0.85);
    padding-bottom: 0.1em;
    border-bottom: 0.0em solid rgba(127, 127, 127, 0.2);
    text-decoration: none;
}

bodycopy a.image-link,
bodycopy a.icon-link {
    border-bottom: 0;
    padding-bottom: 0;
}

[data-predefined-style="true"] h1 {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif, Icons;
    font-style: normal;
    font-weight: 400;
    padding: 0;
    margin: 0;
    font-size: 4.5rem;
    line-height: 1.1;
    color: rgba(26, 25, 25, 0.85);
    letter-spacing: 0.075rem;
}

[data-predefined-style="true"] h2 {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif, Icons;
    font-style: normal;
    font-weight: 400;
    padding: 0;
    margin: 0;
    color: rgba(255, 255, 255, 0.85);
    font-size: 3rem;
    line-height: 1.2;
}

[data-predefined-style="true"] small {
    display: inline-block;
    font-size: 1.5rem;
    line-height: 1.3;
    font-family: "Helvetica Neue", Helvetica, sans-serif, Icons;
    color: rgba(234, 19, 19, 0.73);
}

/**
 * Site Menu & UI Icons
 */
[data-css-preset] #site_menu_button {
    color: rgba(255, 255, 255, 0.75);
    font-size: 28px;
    padding: 6px;
    line-height: 1;
    background: rgba(149, 149, 149, 1);
    position: fixed;
    top: 3rem;
    left: 3rem;
    font-family: Icons; 
}

#site_menu {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif, Icons;
    background: rgba(20, 20, 20, 0.95);
    font-size: 20px;
    padding: 20px 30px 90px 30px;
    max-width: 400px;
    display: flex;
    flex-direction: column;
}

#site_menu .close {
    color: rgba(203, 203, 203, 0.4);
    font-size: 45px;
    font-family: Icons; 
    display: block;
}

[data-css-preset] #shop_button {
    color: rgba(255, 255, 255, 0.85);
    font-size: 32px;
    position: fixed;
    top: .5rem;
    right: .5rem;
    font-family: Icons; 
}

/**
 * Thumbnails & Feed
 */
.thumbnails .title {
    margin-top: 1.2rem;
    font-size: 1.8rem;
    color: rgba(255, 255, 255, 0.85);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif, Icons;
}

.thumbnails .tags {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.85);
}

/**
 * Audio Player
 */
.audio-player {
    max-width: 36rem;
    background: rgba(0, 0, 0, 0.4);
    font-family: Icons, -apple-system, sans-serif;
}

.audio-player .note-icon {
    font-family: Icons; 
}

/**
 * Chatbot Styling
 */
.chat {
    display: none; /* Keep hidden while loading */
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 300px;
    z-index: 999;
    flex-direction: column; /* Needed for internal alignment */
    
    /* Pratt Aesthetic */
    background: #f4f4f4;
    border: 2px solid #000;
    padding: 10px;
}

/* This is the class the Cargo script adds automatically */
.chat.initialized {
    display: flex !important; /* Force it to show once ready */
}

.chat .message {
    display: block;
    margin-bottom: 10px;
    line-height: 1.4;
}

.chat .message.user {
    text-align: right;
    color: #666;
}

.chat .message.bot {
    text-align: left;
    color: #f30; /* Darkroom Red */
    font-weight: bold;
}


.chat input {
    display: block;
    width: 100%;
    box-sizing: border-box; /* Prevents the input from leaking out the sides */
    padding: 8px;
    margin-top: 10px;
    border: 1px solid #000;
}


/**
 * Navigation Arrows Fix (Line 212 Area)
 */
.quick-view-navigation .left-arrow,
.quick-view-navigation .right-arrow,
.quick-view-navigation .close-button,
.image-gallery-navigation .left-arrow,
.image-gallery-navigation .right-arrow {
    font-family: Icons !important;
}

img[data-caption="#eye"] {
    height: 2.25rem !important;
    width: 2.25rem !important;
}
/* Target devices with screens smaller than 768px (Phones/Tablets) */
@media only screen and (max-width: 768px) {
  
 /* SURGICAL MOBILE PADDING FIX */
@media only screen and (max-width: 750px) {

    /* 1. This kills the horizontal 'extra space' on the right */
    html, body {
        overflow-x: hidden !important;
        width: 100% !important;
        position: relative !important;
    }

    /* 2. This forces the content container to ignore Cargo's default margins */
    .content_container, .content, [data-type="page"], .site-container {
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin: 0 !important;
        width: 100vw !important; /* Forces the background to touch both edges */
        max-width: 100vw !important;
    }

    /* 3. This puts the space back ONLY on the text/folders so they aren't touching the glass */
    .bodycopy, .thumbnails, .lab-status-container {
        padding-left: 20px !important;
        padding-right: 20px !important;
        box-sizing: border-box !important;
    }

    /* 4. This ensures the System Bar stays at the very top with no gap */
    body {
        padding-top: 50px !important; 
    }
}
}
.booking-button {
  display: inline-block;
  background-color: #000; /* Or Pratt Yellow */
  color: #fff !important;
  padding: 15px 25px;
  text-decoration: none;
  font-weight: bold;
  border-radius: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: transform 0.2s;
  margin: 10px 0;
}

/* Ensure the chatbot container is visible once the script initializes */
.chat.initialized {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: fixed !important;
    bottom: 20px !important;
    right: 20px !important;
    width: 320px !important;
    min-height: 100px !important;
    z-index: 999999 !important; /* Higher than all other Cargo elements */
    background: #ffffff !important;
    border: 2px solid #000000 !important;
}



.lab-status-container {
    background: #f4f4f4;
    padding: 20px;
    border: 1px solid #000;
    margin: 20px 0;
    max-width: 300px;
}

.lab-status-container h3 {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.lab-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    font-size: 13px;
}

.status-dot {
    height: 10px;
    width: 10px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 10px;
    background-color: #bbb; /* Default Gray */
}

.lab-name {
    font-weight: bold;
    margin-right: 5px;
}

/* Add to your existing CSS */
.status-group:last-child {
    border-top: 1px dashed #ccc;
    padding-top: 15px;
    margin-top: 20px;
}
/* VTO Alert Banner - Positioned below Menu */
.vto-alert-banner {
    position: relative; 
    width: 100%;
    background-color: #000000; /* Black */
    color: #ffffff;
    text-align: center;
    padding: 12px;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    z-index: 99; /* Lower than the menu's z-index */
    border-bottom: 2px solid #f9d249; /* Pratt Yellow accent */
}

.alert-link {
    margin-left: 10px;
    color: #f9d249 !important;
    text-decoration: underline;
}

/* Remove the padding we added to the body earlier */
body {padding-top: 0px !important; /* Change this to 0px to kill the top gap */

}

/* Ensure the banner doesn't hide under a fixed Cargo header */
.banner-wrapper {
    display: block;
    clear: both;
    margin-top: 0; 
}

/* MOBILE OPTIMIZATION */
@media only screen and (max-width: 750px) {
    
    /* 1. The Alert Banner: Stack text for more room */
    .vto-alert-banner {
        font-size: 11px; /* Slightly smaller for mobile */
        line-height: 1.4;
        padding: 12px 10px;
    }

    .alert-link {
        display: block; /* Moves "Details" to its own line */
        margin-top: 5px;
        margin-left: 0;
        font-weight: bold;
    }

    /* 2. The Status Dashboard: Make it full width */
    .lab-status-container {
        max-width: 100% !important; /* Spans the phone width */
        margin: 10px 0;
        padding: 15px;
        border-right: none;
        border-left: none; /* Cleaner look on small screens */
    }

    /* 3. Make Lab Items bigger targets for thumbs */
    .lab-item {
        font-size: 14px; /* Larger text for readability */
        padding: 10px 0; /* More "hit area" */
        justify-content: space-between; /* Lab name on left, Status on right */
    }

    .status-text {
        font-weight: bold;
        text-transform: uppercase;
        font-size: 11px;
    }

    .status-group p {
        font-size: 11px !important;
        margin-top: 10px;
        border-bottom: 1px solid #ddd;
        padding-bottom: 3px;
    }
}

#vto-timer-app {
    background: #000;
    color: #ff0000;
    padding: 30px 20px;
    text-align: center;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    border: 2px solid #ff0000;
    max-width: 450px;
    margin: 20px auto;
}

#display {
    font-size: 90px;
    margin: 15px 0;
    font-weight: bold;
}

.timer-controls select {
    background: #111;
    color: #ff0000;
    border: 1px solid #ff0000;
    padding: 12px;
    width: 100%;
    font-size: 14px;
    border-radius: 0; /* Keeps it minimalist */
}

.button-row {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.button-row button {
    flex: 1;
    padding: 18px;
    background: #ff0000;
    color: #000;
    border: none;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
    text-transform: uppercase;
}

#resetBtn {
    background: #333;
    color: #ff0000;
}

.timer-note {
    font-size: 11px;
    margin-top: 25px;
    opacity: 0.9;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border-top: 1px solid #333;
    padding-top: 15px;
}

.art-school-ui {
    background: #fff;
    color: #000;
    border: 2px solid #000;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    max-width: 800px;
    margin: 40px auto;
    display: flex;
    flex-direction: column;
}

.ui-header {
    display: flex;
    justify-content: space-between;
    padding: 8px 15px;
    background: #000;
    color: #fff;
    font-family: Helvetica, sans-serif;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
}

.ui-main-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    min-height: 350px;
}

.ui-left-col {
    padding: 40px;
    border-right: 2px solid #000;
    background: #f9f9f9;
    display: flex;
    align-items: center;
}

.ui-left-col h1 {
    font-size: 32px;
    line-height: 1.1;
    font-weight: 700;
    margin: 0;
}

.ui-right-col {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.choice-btn {
    display: block;
    width: 100%;
    background: none;
    border: none;
    border-bottom: 1px solid #000;
    padding: 18px 0;
    text-align: left;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: 0.2s;
}

.choice-btn:hover {
    padding-left: 10px;
    background: #f9d249; /* Pratt Yellow */
}

#solution-text {
    font-size: 16px;
    line-height: 1.5;
}

#solution-text strong {
    text-decoration: underline;
    font-weight: bold;
}

.ui-back-btn {
    margin-top: 30px;
    background: #000;
    color: #fff;
    border: none;
    padding: 12px 20px;
    font-weight: bold;
    cursor: pointer;
    font-size: 12px;
    text-transform: uppercase;
}

@media (max-width: 700px) {
    .ui-main-content { grid-template-columns: 1fr; }
    .ui-left-col { border-right: none; border-bottom: 2px solid #000; padding: 30px; min-height: auto;}
}

#vto-lab-finder {
    max-width: 1000px;
    margin: 40px auto;
    font-family: "Helvetica Neue", Helvetica, sans-serif;
}

.map-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 20px;
    border: 2px solid #000;
    padding: 20px;
}

.lab-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    background: #f0f0f0;
    padding: 10px;
}

.map-room {
    background: #fff;
    border: 1px solid #000;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    cursor: pointer;
    transition: 0.2s;
}

.map-room:hover {
    background: #f9d249; /* Pratt Yellow */
    transform: scale(1.02);
}

.room-large {
    grid-column: span 2;
}

.details-panel {
    background: #000;
    color: #fff;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.info-section {
    margin-top: 20px;
    border-top: 1px solid #333;
    padding-top: 10px;
}

.info-section label {
    font-size: 10px;
    color: #888;
    letter-spacing: 1px;
}

.tech-card {
    margin-top: 5px;
    font-weight: bold;
    color: #f9d249;
}

@media (max-width: 750px) {
    .map-container { grid-template-columns: 1fr; }
}

/* GLOBAL WRAPPER FIX */
.art-school-ui {
    max-width: 1100px; /* Wider for more breathing room */
    margin: 2rem auto;
    background: #fff;
    border: 2px solid #000;
    display: block; /* Changed from flex for better flow */
}

.ui-header {
    background: #000;
    color: #fff;
    padding: 0.8rem 1.5rem;
    display: flex;
    justify-content: space-between;
    font-family: monospace;
    font-size: 10px;
    letter-spacing: 1px;
}

/* DESKTOP GRID */
.ui-main-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr; /* More balanced columns */
    min-height: 450px;
}

.ui-left-col {
    padding: 3rem; /* Increased padding */
    border-right: 2px solid #000;
    background: #fcfcfc;
}

.ui-right-col {
    padding: 3rem;
    display: flex;
    flex-direction: column;
}

/* TYPOGRAPHY */
.editorial-title {
    font-size: 3.5rem; /* Large and bold */
    font-weight: 800;
    line-height: 0.85;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.ui-description {
    font-size: 1rem;
    line-height: 1.4;
    color: #333;
    margin-bottom: 2rem;
    max-width: 300px;
}

.input-label {
    display: block;
    font-size: 10px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #999;
    letter-spacing: 0.5px;
}

/* UI ELEMENTS */
.ui-dropdown, .ui-date-picker {
    width: 100%;
    padding: 1rem;
    border: 2px solid #000;
    font-family: inherit;
    font-size: 1rem;
    border-radius: 0;
    background: #fff;
    margin-bottom: 2rem;
}

.check-item {
    display: flex;
    align-items: flex-start;
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
    font-size: 1.1rem;
    cursor: pointer;
}

.check-item input {
    margin-top: 4px;
    margin-right: 15px;
    width: 20px;
    height: 20px;
    accent-color: #000;
}

@media only screen and (max-width: 750px) {
    .content, .bodycopy {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
}
button.vto-power-icon {
    background: none;
    border: 2px solid #000;
    padding: 0;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    /* Adjust these to match your nav font size */
    width: 18px;
    height: 18px;
    cursor: pointer;
}

/* Ensure it stays fixed or inline with your nav */
.nav-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* POWER ICON RESET */
.vto-power-icon {
    display: inline-block !important;
    width: 18px !important;
    height: 18px !important;
    border: 2px solid #000 !important;
    border-radius: 50% !important; /* Forces the circle */
    position: relative !important;
    cursor: pointer !important;
    vertical-align: middle;
    background: transparent !important;
    padding: 0 !important;
    margin-left: 10px;
    box-sizing: border-box !important;
}

/* The vertical line in the power icon */
.vto-power-icon::before {
    content: '' !important;
    position: absolute !important;
    top: -4px !important;
    left: calc(50% - 1px) !important;
    width: 2px !important;
    height: 10px !important;
    background: #000 !important;
    z-index: 10;
}

/* Safelight Active State */
body.safelight-on .vto-power-icon {
    border-color: #ff3333 !important;
    box-shadow: 0 0 10px #ff3333 !important;
}

body.safelight-on .vto-power-icon::before {
    background: #ff3333 !important;
}

/* THE MASTER SAFELIGHT OVERRIDE */

/* 1. Force the background to black */
body.safelight-on, 
body.safelight-on .content_container, 
body.safelight-on .site-container,
body.safelight-on .content {
    background-color: #000000 !important;
}

/* 2. Force all text elements to Red */
body.safelight-on [data-predefined-style="true"] h1,
body.safelight-on [data-predefined-style="true"] h2,
body.safelight-on [data-predefined-style="true"] bodycopy,
body.safelight-on [data-predefined-style="true"] bodycopy a,
body.safelight-on .thumbnails .title,
body.safelight-on .thumbnails .tags,
body.safelight-on .vto-alert-banner,
body.safelight-on .lab-status-container,
body.safelight-on #site_menu_button {
    color: #ff3333 !important;
    border-color: #ff3333 !important;
}

/* 3. Adjust images and thumbnails in Safelight mode so they aren't too bright */
body.safelight-on img {
    filter: grayscale(1) contrast(1.2) sepia(100%) hue-rotate(-50deg) saturate(5) !important;
    opacity: 0.8;
}

/* 4. Fix for the Lab Status Dots */
body.safelight-on .status-dot {
    box-shadow: 0 0 5px #ff3333;
    background-color: #ff3333 !important;
}
