/* --- Globale Stile & Schriftarten --- */
body.login-page {
font-family: Georgia, serif;
    margin: 0;
    min-height: 100vh;
    box-sizing: border-box;
    background-image: url('./assets/textures/dark_wood.jpg');
    background-size: cover;
    background-position: center;
    
    /* KORREKTUR: Der Body selbst zentriert jetzt den Inhalt perfekt */
    font-family: 'Courier New', monospace;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem; /* Sorgt für Abstand zum Rand bei kleinen Bildschirmen */
}

.login-page h1, .login-page h2, .login-page h3 {
font-weight: bold;
}

/* --- Login-Container-Layout --- */
.paper-container {
background-color: #C8BBAE;
    color: #402F24;
    padding: 3rem 4rem;
    width: 100%;
    max-width: 900px;
    border-radius: 4px; /* Etwas dezenterer Radius */

    /* KORREKTUR: Stylischerer Rahmen und Schatten */
    border: 2px solid #4e342e; /* Dunkler, solider Rahmen */
    outline: 2px solid rgba(215, 204, 200, 0.5); /* Hellerer "Schein" nach außen */
    box-shadow: 0 20px 60px rgba(0,0,0,0.6); /* Tieferer, weicherer Schatten */
}

.logo-container {
text-align: center; margin-bottom: 2rem;
}

.logo-image {
max-width: 300px; filter: drop-shadow(5px 5px 10px rgba(0,0,0,0.25));
}

.welcome-text {
text-align: center; max-width: 600px; margin: 0 auto 2rem auto; line-height: 1.6;
}

.divider {
border: 0; height: 2px; background-color: #B0A293; margin: 2.5rem 0;
}

/* --- Login-Formular & Spalten --- */
.login-columns {
display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start;
}

.login-column h3 {
font-size: 1.75rem; margin-top: 0; margin-bottom: 1.5rem;
}

.login-page label {
font-family: 'Special Elite', monospace; font-weight: bold; display: block; margin-bottom: 0.5rem;
}

.input-field {
width: 100%; background-color: #E5DCD1; border: 2px solid #B0A293; border-radius: 6px; padding: 0.75rem; box-shadow: inset 0 1px 3px rgba(0,0,0,0.1); color: #402F24; font-family: 'Merriweather', serif; font-size: 1rem; box-sizing: border-box;
}

.input-field:focus {
outline: none; border-color: #402F24; box-shadow: 0 0 0 3px rgba(64, 47, 36, 0.2);
}

.login-button {
display: block; width: 100%; padding: 0.75rem; font-family: 'Special Elite', monospace; font-size: 1.1rem; font-weight: bold; color: #fff; background-color: #2F6B4F; border-radius: 6px; border: none; border-bottom: 3px solid #1E4633; cursor: pointer; margin-top: 1.5rem; text-decoration: none; text-align: center;
}

.login-button:hover {
background-color: #3A8563; transform: translateY(-1px);
}

.login-button:active {
transform: translateY(1px); border-bottom-width: 2px;
}

.login-page-footer {
text-align: center; font-size: 0.9rem; color: #6D4C41;
}

.login-page-footer a {
color: #6D4C41; text-decoration: none; margin: 0 1rem;
}

/* ===================================================================
   II. STILE FÜR DAS SPIEL (game.html)
   =================================================================== */

body.game-page {
background-color: #111827;
  color: #E5E7EB;
  font-family: sans-serif;
  margin: 0;
}

.hidden {
display: none !important;
}

#main-grid-container {
display: grid; height: 100vh; grid-template-columns: 200px 1fr 350px; grid-template-rows: auto 1fr auto; grid-template-areas: "header header header" "sidebar-left main-content sidebar-right" "footer footer footer"; gap: 10px; padding: 10px; box-sizing: border-box;
}

.game-header {
grid-area: header; padding: 0 1rem;
}

.game-title {
font-size: 1.5rem; font-weight: bold; color: #9ca3af;
}

.game-sidebar-left {
grid-area: sidebar-left; background-color: #1f2937; border-radius: 8px;
}

.game-page .content-section {
    border-radius: 0;
    grid-area: main-content;
    background-color: #1f2937;
    border-radius: 8px;
    display: none;
    padding: 0;
    margin: 0;
    overflow: visible; /* GEÄNDERT von hidden */
    position: relative; /* NEU hinzugefügt */
}

.game-page .content-section.active {
    display: block; /* GEÄNDERT von flex zu block */
}

.game-sidebar-right {
    grid-area: sidebar-right; 
    background-color: #1f2937; 
    border-radius: 8px;
    overflow: hidden; /* WICHTIG: Verhindert, dass Inhalt das Grid sprengt */
    display: flex;
    flex-direction: column;
    max-height: 100%; /* Begrenzt auf Grid-Zellenhöhe */
}

#bottom-status-bar {
grid-area: footer; display: flex; justify-content: space-between; align-items: center; background-color: #1f2937; padding: 0.75rem 2rem; border-radius: 8px;
}

/* --- Status-Bar --- */
.status-left, .status-right {
display: flex; align-items: center; gap: 1.5rem;
}

.status-center {
font-size: 1rem; font-weight: bold; color: #f9fafb;
}

.status-item {
display: flex; gap: 0.5rem; color: #d1d5db; font-size: 0.875rem;
}

.status-item .label {
font-weight: bold;
}

.status-item .value {
color: #f9fafb;
}

#time-controls {
display: flex; gap: 0.25rem;
}

.time-control-btn {
padding: 0.25rem 0.5rem; background-color: #374151; color: #f9fafb; border: 1px solid #4b5563; border-radius: 0.25rem; cursor: pointer; font-size: 0.875rem;
}

.time-control-btn:hover {
background-color: #4b5563;
}

.time-control-btn.active {
background-color: #fbbf24; color: #111827; border-color: #f59e0b;
}

#new-game-btn {
padding: 0.25rem 0.75rem; background-color: #374151; color: #9ca3af; border: 1px solid #4b5563; border-radius: 0.25rem; cursor: pointer; font-size: 0.75rem;
}

 /* KORRIGIERTE VERSION - style.css */

#main-grid-container {
    display: grid;
    height: 100vh;
    grid-template-columns: 200px 1fr 350px;
    grid-template-rows: auto 1fr auto;
    grid-template-areas:
        "header header header"
        "sidebar-left main-content sidebar-right"
        "footer footer footer";
    gap: 10px; /* ZURÜCK auf 10px */
    padding: 10px; /* ZURÜCK auf 10px */
    box-sizing: border-box;
    background-color: #0f172a; /* Dunkler als die Panels, aber weniger grell als das alte Rot */
}

body.game-page {
    background-color: #0f172a; /* Gleiche Farbe wie Grid-Container */
    color: #E5E7EB;
    font-family: sans-serif;
    margin: 0;
}

#world-map-container {
    position: relative; /* NEU: Für POI-Positionierung */
    width: 100%;
    height: 100%;
    background-size: contain; /* GEÄNDERT von cover */
    background-position: center;
    background-repeat: no-repeat;
    background-color: #0f172a; /* Hintergrundfarbe für eventuelle Ränder */
    overflow: visible; /* GEÄNDERT von hidden - wichtig für POIs */
}

#world-map-view {
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
    overflow: visible; /* GEÄNDERT von hidden */
    position: relative; /* NEU hinzugefügt */
}

#main-grid-container {
    gap: 2px; /* Minimaler Abstand */
    padding: 2px;
    background-color: #1f2937; /* Gleiche Farbe wie die Panels */
}
.poi {
position: absolute;
    cursor: pointer;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 10;
    transition: transform 0.2s ease-in-out, filter 0.2s ease-in-out;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.5));
}

.poi:hover {
transform: translate(-50%, -50%) scale(1.1);
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.6)) brightness(1.1);
    z-index: 11;
}

/* POI-Größenklassen - identisch mit Admin Panel */
.poi-small, .poi.small {
width: 64px;
}

.poi-medium, .poi.medium {
width: 96px;
}

.poi-large, .poi.large {
width: 128px;
}

.poi-image {
width: 100%;
    height: 100%;
    object-fit: contain;
    pointer-events: none;
}

/* POI Labels */
.poi-label {
position: absolute;
    left: 50%;
    bottom: -8px;
    transform: translateX(-50%);
    font-family: 'Merriweather', serif;
    font-size: 0.9rem;
    color: white;
    font-weight: bold;
    text-align: center;
    white-space: nowrap;
    padding: 3px 10px;
    background-color: rgba(0, 0, 0, 0.75);
    border-radius: 5px;
    text-shadow: 1px 1px 3px black;
    opacity: 0;
    transition: opacity 0.2s ease-in-out;
    pointer-events: none;
}

.poi:hover .poi-label {
opacity: 1;
}

/* ===================================================================
   III. STILE FÜR DEN MELDUNGS-FEED (game.html)
   =================================================================== */

/* --- Layout der rechten Sidebar --- */
.game-sidebar-right {
    display: flex;
    flex-direction: column;
    padding: 1rem;
    gap: 1rem;
    overflow: hidden; /* WICHTIG: Kein Überlauf der Sidebar */
    max-height: 100%; /* WICHTIG: Begrenzt auf verfügbare Höhe */
}

.sidebar-header h3 {
    font-size: 1.25rem;
    font-weight: bold;
    color: #9ca3af;
    margin: 0;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #374151;
    flex-shrink: 0; /* Header soll nicht schrumpfen */
}

#message-feed-container {
    flex-grow: 1;
    overflow-y: auto; /* Scrollbar für viele Nachrichten */
    overflow-x: hidden; /* Kein horizontales Scrollen */
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    min-height: 0; /* WICHTIG: Ermöglicht Flexbox-Overflow */
}

/* Schönere Scrollbar für Meldungen */
#message-feed-container::-webkit-scrollbar {
    width: 8px;
}

#message-feed-container::-webkit-scrollbar-track {
    background: #111827;
    border-radius: 4px;
}

#message-feed-container::-webkit-scrollbar-thumb {
    background: #4b5563;
    border-radius: 4px;
}

#message-feed-container::-webkit-scrollbar-thumb:hover {
    background: #6b7280;
}
/* --- Stil für eine einzelne Nachrichten-Box --- */
.message-box {
padding: 0.75rem 1rem;
    background-color: #374151; /* Etwas dunklerer Hintergrund */
    border-left: 4px solid #6b7280; /* Standard-Randfarbe */
    border-radius: 4px;
    animation: fadeIn 0.3s ease-out;
}

.message-box .msg-header {
display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    color: #9ca3af;
    margin-bottom: 0.25rem;
}

.message-box .msg-content {
font-size: 0.9rem;
    color: #e5e7eb;
    line-height: 1.4;
}

/* --- Spezifische Typen für Nachrichten --- */
.message-box.msg-success {
border-color: #22c55e;
}

/* Grün für Erfolg */
.message-box.msg-warning {
border-color: #f59e0b;
}

/* Gelb für Warnungen */
.message-box.msg-info {
border-color: #3b82f6;
}

/* Blau für Infos */
.message-box.msg-npc {
border-color: #a855f7;
}

/* Lila für NPCs */

/* --- Animation für neue Nachrichten --- */
@keyframes fadeIn {
from {
        opacity: 0;
        transform: translateY(-10px);
}

to {
opacity: 1;
        transform: translateY(0);
}

}
/* ===================================================================
   IV. STILE FÜR DIE EXPEDITIONSGILDE (game.html)
   =================================================================== */

/* --- Hauptcontainer & Layout --- */
#expedition-guild-view {
padding: 1.5rem 2rem;
    align-items: flex-start; /* Inhalt oben ausrichten */
    justify-content: center;
}

.guild-container {
width: 100%;
    max-width: 1200px;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
/* --- Tab-Navigation --- */
.guild-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #374151;
    padding-bottom: 0.5rem;
}

.tab-btn {
    padding: 0.75rem 1.5rem;
    background-color: #374151;
    color: #9ca3af;
    border: none;
    border-radius: 8px 8px 0 0;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.2s ease;
    position: relative;
}

.tab-btn:hover {
    background-color: #4b5563;
    color: #e5e7eb;
}

.tab-btn.active {
    background-color: #1f2937;
    color: #f9fafb;
    font-weight: bold;
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #3b82f6;
}
.guild-tab-content {
display: none; /* Standardmäßig alle ausblenden */
}

.guild-tab-content.active {
display: block; /* Nur den aktiven Tab anzeigen */
}

/* --- Grid für verfügbare Expeditionen --- */
.expedition-grid {
display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    padding-top: 1rem;
}

.expedition-card {
background-color: #374151;
    border-radius: 8px;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid #4b5563;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.expedition-card:hover {
transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.card-header h3 {
font-size: 1.25rem;
    font-weight: bold;
    color: #e5e7eb;
    margin-bottom: 0.25rem;
}

.card-header .card-difficulty {
font-size: 0.875rem;
    color: #9ca3af;
}

.card-body {
margin: 1rem 0;
    color: #d1d5db;
}

.btn-details {
width: 100%;
    padding: 0.75rem;
    background-color: #4f46e5;
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-details:hover {
background-color: #4338ca;
}

/* --- Liste für laufende Expeditionen --- */
#active-expedition-list-container {
display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-top: 1rem;
}

.active-expedition-item {
background-color: #374151;
    padding: 1.25rem;
    border-radius: 8px;
    border: 1px solid #4b5563;
}

.active-exp-info h4 {
font-size: 1.1rem;
    font-weight: bold;
    color: #e5e7eb;
}

.active-exp-info p {
color: #9ca3af;
    font-size: 0.9rem;
    margin-top: 0.25rem;
}

.progress-bar-container {
width: 100%;
    background-color: #1f2937;
    border-radius: 4px;
    height: 12px;
    margin-top: 0.75rem;
    overflow: hidden;
}

.progress-bar {
height: 100%;
    background-color: #22c55e;
    border-radius: 4px;
    transition: width 0.5s ease-in-out;
}

/* ===================================================================
   V. STILE FÜR EXPEDITIONS-MODAL (game.html)
   =================================================================== */

.modal-overlay {
position: fixed;
    inset: 0;
    background-color: rgba(17, 24, 39, 0.8);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
}

.modal-content {
background-color: #1f2937;
    border: 1px solid #4b5563;
    border-radius: 12px;
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.modal-header {
padding: 1rem 1.5rem;
    border-bottom: 1px solid #374151;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
font-size: 1.5rem;
    font-weight: bold;
    color: #f9fafb;
}

.modal-close-btn {
background: none;
    border: none;
    color: #9ca3af;
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
}

.modal-close-btn:hover {
color: #fff;
}

.modal-body {
padding: 1.5rem;
    overflow-y: auto;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}

.modal-body h3 {
font-size: 1.1rem;
    font-weight: bold;
    color: #d1d5db;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #374151;
}

.mt-4 {
margin-top: 1.5rem;
}

/* --- Anforderungen & Belohnungen --- */
.exp-requirements-list, .exp-rewards-list {
display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.req-item, .reward-item {
background-color: #374151;
    padding: 0.75rem 1rem;
    border-radius: 6px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.reward-item span:last-child {
font-size: 0.8rem;
    color: #9ca3af;
}

/* --- Helfer-Auswahl --- */
.exp-agent-selection-list {
display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.agent-selection-item {
padding: 0.75rem;
    border: 1px solid #4b5563;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s, border-color 0.2s;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.agent-selection-item:hover {
background-color: #374151;
}

.agent-selection-item.selected {
background-color: #4f46e5;
    border-color: #6366f1;
    color: white;
}

.agent-selection-item.disabled {
background-color: #374151;
    color: #6b7280;
    cursor: not-allowed;
    opacity: 0.6;
}

/* --- Modal-Fußzeile --- */
.modal-footer {
padding: 1rem 1.5rem;
    border-top: 1px solid #374151;
    background-color: #111827;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.feedback-text {
color: #f59e0b;
    font-size: 0.9rem;
}

.btn-start-expedition {
padding: 0.75rem 2rem;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s, opacity 0.2s;
}

.btn-start-expedition:disabled {
background-color: #4b5563;
    color: #9ca3af;
    cursor: not-allowed;
}

.btn-start-expedition:not(:disabled) {
background-color: #16a34a;
    color: white;
}

.btn-start-expedition:not(:disabled):hover {
background-color: #15803d;
}

/* --- Stile für Report Modal --- */
#exp-report-gained h4, #exp-report-lost h4 {
font-weight: bold;
    color: #9ca3af;
    margin-bottom: 0.5rem;
}

#exp-report-gained ul, #exp-report-lost ul {
list-style: none;
    padding-left: 0;
}

#exp-report-gained li {
padding: 0.25rem 0;
    color: #86efac; /* Grün */
}

#exp-report-lost li {
padding: 0.25rem 0;
    color: #fca5a5; /* Rot */
}

/* ===================================================================
   VI. STILE FÜR DIE AKTIVITÄTEN-LEISTE (NEU)
   =================================================================== */

/* --- Layout der linken Sidebar --- */
.game-sidebar-left {
display: flex;
    flex-direction: column; /* Stellt Titel und Feed untereinander dar */
    padding: 1rem;
    gap: 1rem; /* Abstand zwischen Titel und Inhalt */
    overflow-y: auto; /* Scrollbar, falls viele Aktivitäten laufen */
}

#active-processes-container {
display: flex;
    flex-direction: column;
    gap: 1rem; /* Abstand zwischen den Einträgen */
}

.activity-item {
background-color: #374151;
    padding: 0.75rem;
    border-radius: 6px;
    font-size: 0.875rem;
}

.activity-header {
display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.activity-name {
font-weight: 500;
    color: #e5e7eb;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-right: 0.5rem;
}

.activity-time {
font-size: 0.8rem;
    color: #9ca3af;
    flex-shrink: 0;
}

/* Wiederverwendung der bestehenden Progress-Bar-Stile */
.activity-item .progress-bar-container {
height: 8px; /* Etwas kleiner für die Sidebar */
    margin-top: 0; /* Kein extra Abstand oben */
}

.activity-item .progress-bar {
background-color: #4f46e5; /* Lila/Indigo als Standardfarbe */
}

.no-activities-msg {
color: #6b7280; /* Dunkelgrau */
    font-style: italic;
    font-size: 0.9rem;
    padding: 1rem 0.5rem;
    text-align: center;
}
/* Event Modal Choices */
.event-choices-container {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1rem;
}

.event-choice-btn {
    padding: 1rem;
    background-color: #374151;
    color: #e5e7eb;
    border: 1px solid #4b5563;
    border-radius: 8px;
    cursor: pointer;
    text-align: left;
    transition: all 0.2s ease;
}

.event-choice-btn:hover {
    background-color: #4b5563;
    border-color: #6b7280;
    transform: translateX(5px);
}
/* In deiner style.css hinzufügen */
.message-box.clickable {
cursor: pointer;
    transition: background-color 0.2s ease-in-out;
}

.message-box.clickable:hover {
/* Wähle eine Farbe, die zu deinem Design passt. 
       Dies ist ein Beispiel für ein leichtes Aufhellen. */
    background-color: rgba(255, 255, 255, 0.1);
}

body {
font-family: Georgia, serif; /* Statt Merriweather */
}

h1, h2, h3 {
font-family: 'Courier New', monospace; /* Statt Special Elite */
}

/* Landing Page Hintergründe */
.landing-page-bg {
background-image: url('./assets/textures/dark_wood.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 100vh;
}

.paper-bg-final {
background-color: #C8BBAE;
    background-image: url('./assets/textures/paper.jpg'); /* Falls du eine Papier-Textur hast */
    background-blend-mode: multiply;
}

.dark-wood-bg {
background-image: url('./assets/textures/dark_wood.jpg');
    background-size: cover;
    background-position: center;
}

.logo-shadow-final {
filter: drop-shadow(5px 5px 10px rgba(0,0,0,0.25));
}

.text-ink {
color: #402F24;
}

.input-field-final {
width: 100%;
    background-color: #E5DCD1;
    border: 2px solid #B0A293;
    border-radius: 6px;
    padding: 0.75rem;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.1);
    color: #402F24;
    font-size: 1rem;
    box-sizing: border-box;
}

.btn-primary-final {
display: block;
    width: 100%;
    padding: 0.75rem;
    font-size: 1.1rem;
    font-weight: bold;
    color: #fff;
    background-color: #2F6B4F;
    border-radius: 6px;
    border: none;
    border-bottom: 3px solid #1E4633;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
}

.btn-primary-final:hover {
background-color: #3A8563;
    transform: translateY(-1px);
}

.btn-secondary-final {
display: block;
    width: 100%;
    padding: 0.75rem;
    font-size: 1.1rem;
    font-weight: bold;
    color: #fff;
    background-color: #3A6985;
    border-radius: 6px;
    border: none;
    border-bottom: 3px solid #254456;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
}

.btn-secondary-final:hover {
background-color: #4A7995;
    transform: translateY(-1px);
}
/* ===================================================================
   VII. STILE FÜR EXPEDITIONS-PANEL (NEU)
   =================================================================== */

/* --- Button zum Öffnen des Panels (in der Fußleiste) --- */
#open-expedition-panel-btn {
    background-color: #374151;
    color: #f9fafb;
    border: 1px solid #4b5563;
    border-radius: 0.25rem;
    cursor: pointer;
    font-size: 1.25rem;
    padding: 0.25rem 0.75rem;
    line-height: 1;
    transition: background-color 0.2s ease-in-out;
}

#open-expedition-panel-btn:hover {
    background-color: #4b5563;
}

/* --- Das Panel selbst --- */
#expedition-panel {
    position: absolute;
    bottom: 10px; 
    left: 10px;
    z-index: 30;
    width: 350px;
    max-height: 400px;
    background-color: #1f2937;
    border: 1px solid #4b5563;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
}

#expedition-panel.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1.25rem;
    border-bottom: 1px solid #374151;
    flex-shrink: 0;
}

.panel-header h2 {
    font-size: 1.1rem;
    font-weight: bold;
    color: #e5e7eb;
    margin: 0;
}

.panel-close-btn {
    background: none;
    border: none;
    color: #9ca3af;
    font-size: 1.75rem;
    line-height: 1;
    cursor: pointer;
    padding: 0.25rem;
}
.panel-close-btn:hover {
    color: #fff;
}

/* --- Die scrollbare Liste im Panel --- */
#expedition-panel-list {
    padding: 0.75rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.expedition-list-item {
    background-color: #374151;
    border-radius: 6px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.expedition-list-item h4 {
    font-size: 1rem;
    font-weight: bold;
    margin: 0;
}

.expedition-list-item p {
    font-size: 0.875rem;
    color: #9ca3af;
    margin: 0;
}

.expedition-list-item .btn-details {
    margin-top: 0.5rem;
}

/* ===================================================================
   MODERNE UI-VERBESSERUNGEN
   =================================================================== */

/* Sanftere Übergänge */
* {
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

/* Verbesserte Buttons */
.btn-style,
.login-button,
.btn-primary-final,
.btn-secondary-final,
.time-control-btn,
#new-game-btn {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn-style:hover:not(:disabled),
.login-button:hover,
.btn-primary-final:hover,
.btn-secondary-final:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
}

.btn-style:active:not(:disabled) {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Hover-Effekt für Karten */
.expedition-card,
.ingredient-card,
.item-card,
.message-box {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.expedition-card:hover,
.ingredient-card:hover,
.item-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.4);
}

/* Verbesserte Progress Bars */
.progress-bar-container {
    background: linear-gradient(to right, #1f2937, #374151);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
}

.progress-bar {
    background: linear-gradient(90deg, #10b981, #059669);
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
}

/* Pulse-Animation für wichtige Benachrichtigungen */
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.message-box.msg-warning,
.message-box.msg-success {
    animation: pulse 2s ease-in-out;
}

/* Verbesserte Scrollbars */
::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

::-webkit-scrollbar-track {
    background: #1f2937;
    border-radius: 6px;
}

::-webkit-scrollbar-thumb {
    background: #4b5563;
    border-radius: 6px;
    border: 2px solid #1f2937;
}

::-webkit-scrollbar-thumb:hover {
    background: #6b7280;
}

/* Loading-Spinner für lange Aktionen */
@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading-spinner {
    border: 3px solid #374151;
    border-top-color: #3b82f6;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

/* Tooltip-Verbesserungen */
[title]:hover::after {
    content: attr(title);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #1f2937;
    color: #f9fafb;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    font-size: 0.875rem;
    white-space: nowrap;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}
/* ===================================================================
   TRAVEL ANIMATION STYLES (NEU)
   =================================================================== */

.travel-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease-in;
}

.travel-container {
    position: relative;
    width: 90vw;
    max-width: 1200px;
    height: 70vh;
    background-size: cover;
    background-position: center;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8);
}

.travel-path-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.travel-path {
    fill: none;
    stroke: #fbbf24;
    stroke-width: 0.5;
    stroke-dasharray: 5, 5;
    opacity: 0.6;
}

.travel-path-animated {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: drawPath 2s ease-in-out forwards;
}

@keyframes drawPath {
    to {
        stroke-dashoffset: 0;
    }
}

.travel-marker {
    position: absolute;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.travel-marker-start {
    background: #10b981;
    animation: pulse 1.5s ease-in-out infinite;
}

.travel-marker-end {
    background: #ef4444;
    animation: pulse 1.5s ease-in-out infinite 0.5s;
}

.traveler-marker {
    position: absolute;
    transform: translate(-50%, -50%);
    z-index: 100;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.5));
}

.traveler-icon {
    width: 32px;
    height: 32px;
    background: #3b82f6;
    border-radius: 50%;
    border: 3px solid white;
    animation: bounce 0.6s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.travel-info {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(31, 41, 55, 0.95);
    backdrop-filter: blur(10px);
    padding: 1.5rem 2rem;
    border-radius: 12px;
    border: 2px solid #4b5563;
    min-width: 400px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.travel-info h3 {
    margin: 0 0 0.5rem 0;
    color: #fbbf24;
    font-size: 1.25rem;
}

.travel-info p {
    margin: 0 0 1rem 0;
    color: #d1d5db;
}

.travel-progress {
    width: 100%;
    height: 8px;
    background: #374151;
    border-radius: 4px;
    overflow: hidden;
}

.travel-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #10b981, #3b82f6);
    border-radius: 4px;
    animation: fillProgress 3s linear forwards;
}

@keyframes fillProgress {
    from { width: 0%; }
    to { width: 100%; }
}

@keyframes fadeOut {
    to {
        opacity: 0;
    }
}

/* ===================================================================
   VERBESSERTE BUTTON-STILE (ÜBERSCHREIBT ALTE)
   =================================================================== */

.btn-primary-final,
.btn-secondary-final,
.btn-details,
.btn-start-expedition {
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary-final::before,
.btn-secondary-final::before,
.btn-details::before,
.btn-start-expedition::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary-final:active::before,
.btn-secondary-final:active::before,
.btn-details:active::before,
.btn-start-expedition:active::before {
    width: 300px;
    height: 300px;
}

/* Modernere Expedition Cards */
.expedition-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.expedition-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s;
}

.expedition-card:hover::before {
    left: 100%;
}

/* Verbesserte Message Boxes */
.message-box {
    animation: slideInRight 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transition: all 0.2s ease;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.message-box:hover {
    transform: translateX(-5px);
    box-shadow: -3px 0 0 #4b5563;
}

/* Loading Spinner für Async-Operationen */
.loading-overlay {
    position: fixed;
    inset: 0;
    background: rgba(17, 24, 39, 0.9);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.spinner {
    width: 60px;
    height: 60px;
    border: 4px solid #374151;
    border-top-color: #3b82f6;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Verbesserte POI-Stile */
.poi {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.poi::after {
    content: '';
    position: absolute;
    inset: -10px;
    border: 2px solid rgba(251, 191, 36, 0);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.poi:hover::after {
    border-color: rgba(251, 191, 36, 0.5);
    animation: ripple 1.5s ease-out infinite;
}

@keyframes ripple {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* Tooltip Verbesserungen */
.tooltip {
    position: absolute;
    background: #1f2937;
    color: #f9fafb;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    font-size: 0.875rem;
    pointer-events: none;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.2s ease;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    white-space: nowrap;
}

.tooltip.show {
    opacity: 1;
    transform: translateY(0);
}

/* Verbesserte Progress Bars */
.progress-bar {
    position: relative;
    background: linear-gradient(90deg, #10b981, #059669);
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.6);
    overflow: hidden;
}

.progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.3), 
        transparent
    );
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.msg-icon {
    display: inline-block;
    width: 20px;
    height: 20px;
    text-align: center;
    margin-right: 0.5rem;
    font-weight: bold;
}

@keyframes slideOutRight {
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* ===================================================================
   MODULE CONTAINER STILE (Bank, Supermarkt, etc.)
   =================================================================== */

.module-container {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    background-color: #1f2937;
    overflow: hidden;
}

.module-header {
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    border-bottom: 2px solid #374151;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.module-header h2 {
    font-size: 1.75rem;
    font-weight: bold;
    color: #f9fafb;
    margin: 0;
}

.btn-back {
    padding: 0.5rem 1rem;
    background-color: #374151;
    color: #d1d5db;
    border: 1px solid #4b5563;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-back:hover {
    background-color: #4b5563;
    color: #f9fafb;
}

.module-content {
    flex: 1;
    overflow-y: auto;
    padding: 2rem;
}

/* --- Kategorie-Navigation --- */
.category-nav {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.category-btn {
    padding: 0.75rem 1.5rem;
    background-color: #374151;
    color: #9ca3af;
    border: 1px solid #4b5563;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 1rem;
}

.category-btn:hover {
    background-color: #4b5563;
    color: #e5e7eb;
}

.category-btn.active {
    background-color: #3b82f6;
    color: white;
    border-color: #2563eb;
    font-weight: bold;
}

/* --- Produkte-Grid --- */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.product-card {
    background-color: #374151;
    border: 1px solid #4b5563;
    border-radius: 8px;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    border-color: #6b7280;
}

.product-card h4 {
    margin: 0;
    color: #f9fafb;
    font-size: 1.1rem;
}

.product-card .price {
    color: #10b981;
    font-weight: bold;
    font-size: 1.25rem;
}

.product-card .stock-info {
    color: #9ca3af;
    font-size: 0.875rem;
}

/* --- Warenkorb-Panel --- */
.shopping-cart-panel {
    position: sticky;
    bottom: 0;
    background-color: #1f2937;
    border-top: 2px solid #374151;
    padding: 1.5rem;
    margin: 2rem -2rem -2rem;
}

.shopping-cart-panel h3 {
    margin: 0 0 1rem 0;
    color: #f9fafb;
}

#cart-items-list {
    max-height: 200px;
    overflow-y: auto;
    margin-bottom: 1rem;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem;
    background-color: #374151;
    border-radius: 4px;
    margin-bottom: 0.5rem;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    padding: 1rem;
    background-color: #374151;
    border-radius: 6px;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

/* --- Bank-Layout --- */
.bank-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.bank-section {
    background-color: #374151;
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid #4b5563;
}

.bank-section h3 {
    margin: 0 0 1.5rem 0;
    color: #f9fafb;
    font-size: 1.5rem;
    border-bottom: 2px solid #4b5563;
    padding-bottom: 0.75rem;
}

.info-box {
    background-color: #1f2937;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.info-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    color: #d1d5db;
}

.info-row:not(:last-child) {
    border-bottom: 1px solid #374151;
}

.input-group {
    margin-bottom: 1.5rem;
}

.input-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #9ca3af;
    font-weight: bold;
}

.input-group input {
    width: 100%;
    padding: 0.75rem;
    background-color: #1f2937;
    border: 1px solid #4b5563;
    border-radius: 6px;
    color: #f9fafb;
    font-size: 1rem;
}

.button-group {
    display: flex;
    gap: 1rem;
}

.button-group button {
    flex: 1;
}

/* --- Aktien-Container --- */
.stocks-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.stock-item {
    background-color: #1f2937;
    border: 1px solid #4b5563;
    border-radius: 8px;
    padding: 1rem;
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 1rem;
    align-items: center;
}

.stock-info h4 {
    margin: 0;
    color: #f9fafb;
}

.stock-price {
    font-size: 1.25rem;
    font-weight: bold;
    color: #10b981;
}

.stock-change {
    font-size: 0.875rem;
}

.stock-change.positive {
    color: #10b981;
}

.stock-change.negative {
    color: #ef4444;
}

.loading-msg {
    text-align: center;
    color: #6b7280;
    font-style: italic;
    padding: 2rem;
}
.modal-body .products-grid {
    max-height: 60vh;
    overflow-y: auto;
}
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    padding: 1rem;
}

.product-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.product-image {
    width: 100%;
    height: 120px;
    object-fit: contain;
    margin-bottom: 0.5rem;
}

.quantity-controls {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.quantity-input {
    width: 60px;
    padding: 0.5rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
}
/* Polizei-View Styling */
.bribe-container {
    max-width: 600px;
    margin: 2rem auto;
    padding: 2rem;
    background: var(--card-bg);
    border-radius: 8px;
}

.bribe-info {
    margin-bottom: 2rem;
}

.bribe-stats {
    background: var(--bg-dark);
    padding: 1.5rem;
    border-radius: 6px;
    margin-top: 1rem;
}

.stat-row {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}

.stat-row:last-child {
    border-bottom: none;
}

.stat-row.effect {
    color: var(--accent-green);
    font-weight: 600;
}

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

.current-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 1rem;
}

.stat-item {
    background: var(--bg-dark);
    padding: 1rem;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-white);
}

.stat-value.positive {
    color: #ef4444;
}

.stat-value.negative {
    color: var(--accent-green);
}

.report-entry {
    display: grid;
    grid-template-columns: 100px 1fr 100px;
    gap: 1rem;
    padding: 0.75rem;
    background: var(--bg-dark);
    border-radius: 4px;
    margin-bottom: 0.5rem;
    align-items: center;
}

.report-change.positive {
    color: #ef4444;
}

.report-change.negative {
    color: var(--accent-green);
}
/* Bank-View Styling */
.loan-container, .stocks-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.loan-overview {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.loan-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.loan-actions {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 8px;
}

.action-group h4 {
    margin-bottom: 1rem;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.input-group input {
    padding: 0.75rem;
    font-size: 1.1rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
}

.button-group {
    display: flex;
    gap: 1rem;
}

.btn-secondary {
    background: var(--bg-medium);
    color: var(--text-white);
}

/* Aktien Styling */
.portfolio-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

#stocks-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.stock-item {
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
    transition: all 0.2s;
}

.stock-item.owned {
    border-color: var(--accent-blue);
}

.stock-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.stock-logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.stock-sector {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.stock-data {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.stock-price-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.stock-price {
    font-size: 1.5rem;
    font-weight: 600;
}

.stock-change {
    font-size: 0.9rem;
}

.stock-change.positive {
    color: var(--accent-green);
}

.stock-change.negative {
    color: #ef4444;
}

.stock-owned {
    background: var(--accent-blue);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-weight: 600;
}

.stock-actions {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.stock-quantity-control {
    flex: 0 0 80px;
}

.btn-buy {
    background: var(--accent-green);
    flex: 1;
}

.btn-sell {
    background: #ef4444;
    flex: 1;
}

.btn-buy:disabled, .btn-sell:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
/* Bank-Styling */
.bank-layout {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.bank-section {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 8px;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

.bank-section h3 {
    margin-top: 0;
    margin-bottom: 1.5rem;
    color: var(--text-white);
}

.stocks-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.stock-item {
    background: var(--bg-dark);
    padding: 1rem;
    border-radius: 6px;
    border: 1px solid var(--border-color);
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 1rem;
    align-items: center;
}

.stock-info h4 {
    margin: 0 0 0.25rem 0;
}

.stock-price {
    font-size: 1.2rem;
    font-weight: 600;
}

.stock-actions {
    display: flex;
    gap: 0.5rem;
}