/* Common styles shared across pages */

/* Force ShareTechMono on all main content elements */
.main-content * {
    font-family: 'ShareTechMono', monospace !important;
}

/* Increase brightness and saturation for event page */
body[class*="event"] .main-content,
.main-content {
    filter: brightness(1.1) saturate(1.1);
}

/* Main section titles - outside boxes, aligned left */
.main-section-title {
    font-family: 'ShareTechMono', monospace;
    font-weight: bold;
    font-size: 1.3em;
    color: #ffd700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: 0 0 8px #ffd700;
    margin-bottom: 0.5rem;
    text-align: left;
}

/* Section titles - inside boxes, centered */
.section-title {
    font-family: 'ShareTechMono', monospace;
    font-weight: bold;
    font-size: 1.1em; /* slight reduction */
    color: #00ff41;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 0 10px #00ff41;
    margin-bottom: 1rem;
    text-align: center;
}

/* Common link styles */
.location-link, .calendar-link {
    color: #ffd700 !important;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    text-shadow: 0 0 5px #ffd700;
}

.location-link:hover, .calendar-link:hover {
    color: #ffff00 !important;
    text-shadow: 0 0 10px #ffff00, 0 0 15px #ffff00;
    transform: scale(1.05);
}

/* Standardized Box Types - Exact SESSION.ECHO style */

/* Red Box - Critical, urgent, warnings */
.box-red {
    border: 1px solid #ff4757;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    background: rgba(255, 71, 87, 0.1);
}

/* Green Box - Primary info, default containers */
.box-green, .info-container, .event-info-container, .countdown-container, .export-container, .generator-container {
    border: 1px solid #00ff41;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    background: rgba(0, 255, 65, 0.1);
}

/* Blue Box - Special protocols, transport info */
.box-blue, .protocol-credential, .protocol-credential.glitch {
    border: 1px solid #4FC3F7;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    background: rgba(79, 195, 247, 0.1);
}

/* Yellow Box - Important info, highlights */
.box-yellow {
    border: 1px solid #ffc107;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    background: rgba(255, 193, 7, 0.1);
}

/* SESSION.ECHO subsection title style */
.subsection-title {
    color: #ffd700;
    font-weight: bold;
    font-size: 1.2em;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Main section titles - outside boxes, keep green */
.main-section-title {
    color: #00ff41;
    font-weight: bold;
    font-size: 1.3em;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: 0 0 10px #00ff41;
    margin-bottom: 0.5rem;
    text-align: left;
}

/* Section titles inside boxes - yellow */
.section-title {
    color: #ffd700 !important;
    font-weight: bold;
    font-size: 1.2em;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-align: left !important;
    text-shadow: none !important;
}

/* Terminal elements */
.terminal-window {
    margin: 2rem 0;
}

.terminal-header {
    margin-bottom: 2rem;
}

.terminal-title {
    font-family: 'ShareTechMono', monospace;
    font-weight: bold;
    font-size: 1.3em;
    color: #00ff41;
    text-shadow: 0 0 10px #00ff41;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: left;
    margin-bottom: 0.5rem;
}

.terminal-prompt {
    margin: 0.5rem 0;
    font-family: 'ShareTechMono', monospace;
    color: #00ff41;
}

.prompt-symbol {
    color: #00ff41;
    margin-right: 0.5rem;
}

.prompt-text {
    color: #00ff41;
}

/* Common section spacing */
.event-section, .brief-section, .protocols-section, .countdown-section, .generators-section, .export-section, .transport-section {
    margin: 2rem 0;
}
