/**
 * Travian Game - Haupt-Stylesheet
 * Einfaches, übersichtliches Design
 */

/* ============================================
   RESET & BASICS
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', Arial, sans-serif;
    background: #F4E4BC;
    min-height: 100vh;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   NAVIGATION - NEW TWO-LINE LAYOUT
   ============================================ */

/* Top Navigation Bar */
.top-nav {
    background: linear-gradient(135deg, #5C4A2A 0%, #8B6B47 100%);
    padding: 0.5rem 0;
    position: sticky;
    top: 0;
    z-index: 101;
}

.top-nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-nav-left {
    display: flex;
    align-items: center;
}

.top-nav .logo {
    font-size: 1.4rem;
    font-weight: bold;
    color: #FFF;
    text-decoration: none;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.top-nav-right {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* Village Switcher Compact */
.village-switcher-compact {
    position: relative;
}

.village-btn-compact {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 4px;
    padding: 0.35rem 0.65rem;
    color: #FFF;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s;
}

.village-btn-compact:hover {
    background: rgba(255,255,255,0.25);
}

.village-icon {
    font-size: 1rem;
}

.village-name-compact {
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.village-count {
    opacity: 0.7;
    font-size: 0.75rem;
}

.dropdown-arrow-small {
    font-size: 0.6rem;
    opacity: 0.7;
}

.village-dropdown-compact {
    position: absolute;
    top: calc(100% + 4px);
    right: 0;
    background: #FFF;
    border: 2px solid #DED3B0;
    border-radius: 6px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
    min-width: 220px;
    z-index: 1000;
    overflow: hidden;
}

.village-dropdown-header {
    padding: 0.5rem 0.75rem;
    background: #F4E4BC;
    font-size: 0.75rem;
    font-weight: 600;
    color: #5C4A2A;
    text-transform: uppercase;
    border-bottom: 1px solid #DED3B0;
}

.village-dropdown-item-compact {
    display: flex;
    align-items: center;
    padding: 0.6rem 0.75rem;
    color: #333;
    text-decoration: none;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.15s;
    font-size: 0.85rem;
}

.village-dropdown-item-compact:last-child {
    border-bottom: none;
}

.village-dropdown-item-compact:hover {
    background: #f8f5f0;
}

.village-dropdown-item-compact.active {
    background: linear-gradient(135deg, #5C4A2A 0%, #8B6B47 100%);
    color: #FFF;
}

.village-item-name {
    flex: 1;
    font-weight: 500;
}

.village-item-coords {
    color: #888;
    font-size: 0.8rem;
    margin-left: 0.5rem;
}

.village-dropdown-item-compact.active .village-item-coords {
    color: rgba(255,255,255,0.7);
}

.village-item-check {
    color: #4CAF50;
    font-weight: bold;
    margin-left: 0.5rem;
}

.village-dropdown-item-compact.active .village-item-check {
    color: #FFF;
}

/* Profile Dropdown Compact */
.profile-dropdown-compact {
    position: relative;
}

.profile-btn-compact {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 4px;
    padding: 0.35rem 0.65rem;
    color: #FFF;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s;
}

.profile-btn-compact:hover {
    background: rgba(255,255,255,0.25);
}

.profile-icon {
    font-size: 1rem;
}

.profile-name {
    max-width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.profile-menu-compact {
    position: absolute;
    top: calc(100% + 4px);
    right: 0;
    background: #FFF;
    border: 2px solid #DED3B0;
    border-radius: 6px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
    min-width: 160px;
    z-index: 1000;
    overflow: hidden;
}

.profile-menu-compact a {
    display: block;
    padding: 0.6rem 0.75rem;
    color: #333;
    text-decoration: none;
    font-size: 0.85rem;
    transition: background 0.15s;
}

.profile-menu-compact a:hover {
    background: #f8f5f0;
}

.profile-menu-divider {
    height: 1px;
    background: #DED3B0;
    margin: 0.25rem 0;
}

/* Server Clock Compact */
.server-clock-compact {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    background: rgba(0,0,0,0.2);
    border-radius: 4px;
    padding: 0.35rem 0.65rem;
    color: #FFF;
    font-size: 0.8rem;
}

.clock-icon {
    font-size: 0.9rem;
}

/* Auth Buttons (not logged in) */
.auth-btn {
    color: #FFF;
    text-decoration: none;
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.2s;
}

.auth-btn:hover {
    background: rgba(255,255,255,0.15);
}

.auth-btn-primary {
    background: rgba(255,255,255,0.2);
    border: 1px solid rgba(255,255,255,0.4);
}

.auth-btn-primary:hover {
    background: rgba(255,255,255,0.3);
}

/* Main Navigation Links Bar */
.main-nav-links {
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 2px solid #DED3B0;
    padding: 0;
    position: sticky;
    top: 40px;
    z-index: 100;
}

.nav-links-wrapper {
    display: flex;
    justify-content: center;
    gap: 0.25rem;
    padding: 0.5rem 0;
    flex-wrap: wrap;
}

.nav-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.4rem 0.75rem;
    color: #5C4A2A;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.2s;
    position: relative;
    min-width: 60px;
}

.nav-link:hover {
    background: #F4E4BC;
}

.nav-icon {
    font-size: 1.1rem;
    margin-bottom: 0.15rem;
}

.nav-icon-img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    margin-bottom: 0.15rem;
}

.nav-text {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
}

.nav-link .nav-badge {
    position: absolute;
    top: 0;
    right: 0.25rem;
    background: #dc3545;
    color: white;
    border-radius: 8px;
    padding: 1px 5px;
    font-size: 0.6rem;
    font-weight: bold;
    min-width: 14px;
    text-align: center;
}

.nav-link .tutorial-badge {
    background: #ffc107;
    color: #333;
}

/* Legacy Navigation (keep for compatibility) */
.main-nav {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.main-nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.main-nav .nav-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.main-nav .logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #5C4A2A;
    text-decoration: none;
}

.main-nav .nav-center {
    display: flex;
    gap: 1rem;
}

.main-nav .nav-right {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.main-nav a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    font-size: 0.9rem;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
}

.main-nav a:hover {
    color: #8B6B47;
    background: rgba(139, 107, 71, 0.1);
}

.main-nav .nav-center a {
    position: relative;
}

.nav-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background: #dc3545;
    color: white;
    border-radius: 10px;
    padding: 1px 5px;
    font-size: 0.65rem;
    font-weight: bold;
    min-width: 16px;
    text-align: center;
}

.village-name {
    color: #666;
    font-size: 0.85rem;
}

/* Village Switcher Dropdown */
.village-switcher {
    position: relative;
}

.village-switcher-btn {
    background: none;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 0.35rem 0.75rem;
    color: #666;
    font-size: 0.85rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s;
}

.village-switcher-btn:hover {
    background: #f5f5f5;
    border-color: #5C4A2A;
}

.village-switcher-btn .dropdown-arrow {
    font-size: 0.7rem;
    opacity: 0.6;
}

.village-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    min-width: 200px;
    z-index: 1000;
    margin-top: 0.25rem;
    overflow: hidden;
}

.village-dropdown-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    color: #333;
    text-decoration: none;
    border-bottom: 1px solid #eee;
    transition: background 0.15s;
}

.village-dropdown-item:last-child {
    border-bottom: none;
}

.village-dropdown-item:hover {
    background: #f8f5f0;
}

.village-dropdown-item.active {
    background: linear-gradient(135deg, #5C4A2A 0%, #8B6B47 100%);
    color: white;
}

.village-dropdown-item .check {
    color: #4CAF50;
    font-weight: bold;
}

.village-dropdown-item.active .check {
    color: white;
}

[x-cloak] {
    display: none !important;
}

.username {
    color: #666;
    font-weight: 500;
    font-size: 0.9rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
}

/* ============================================
   RESSOURCEN-BAR
   ============================================ */
.resource-bar {
    background: #FFF;
    border-bottom: 2px solid #DED3B0;
    padding: 0.75rem 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

.resources {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.resource {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.resource-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.resource .icon {
    font-size: 1.3rem;
}

.resource-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
    vertical-align: middle;
}

.resource .name {
    font-weight: 600;
    color: #5C4A2A;
    font-size: 0.75rem;
    text-transform: uppercase;
}

.resource .amount {
    font-weight: bold;
    color: #2c5530;
    font-size: 0.95rem;
}

.resource .capacity {
    color: #999;
    font-size: 0.8rem;
}

.resource-bar-container {
    width: 100%;
    height: 12px;
    background: #E9ECEF;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid #DED3B0;
}

.resource-bar-fill {
    height: 100%;
    transition: width 0.5s ease;
    border-radius: 6px;
}

.wood-bar {
    background: linear-gradient(90deg, #8B6B47 0%, #A67C52 100%);
}

.clay-bar {
    background: linear-gradient(90deg, #C86848 0%, #E87858 100%);
}

.stone-bar {
    background: linear-gradient(90deg, #888 0%, #AAA 100%);
}

.crop-bar {
    background: linear-gradient(90deg, #C8A860 0%, #E8C870 100%);
}

.resource-production {
    color: #28a745;
    font-size: 0.75rem;
    font-weight: 600;
}

.resource-production.positive {
    color: #28a745;
}

.resource-production.negative {
    color: #dc3545;
}

/* Profile Dropdown */
.profile-dropdown {
    position: relative;
}

.profile-dropdown .username {
    background: none;
    border: none;
    color: #666;
    font-weight: 500;
    cursor: pointer;
    font-size: 1rem;
    font-family: inherit;
    padding: 0.5rem;
}

.profile-dropdown .username:hover {
    color: #333;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: #FFF;
    border: 2px solid #DED3B0;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    min-width: 150px;
    margin-top: 0.5rem;
    z-index: 1000;
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1rem;
    color: #333;
    text-decoration: none;
    transition: background 0.15s;
}

.dropdown-menu a:hover {
    background: #F4E4BC;
}

/* ============================================
   MAIN CONTENT
   ============================================ */
.main-content {
    padding: 2rem 0;
    min-height: calc(100vh - 250px);
}

/* ============================================
   TRAVIAN GLOBAL STYLES
   ============================================ */

/* Travian Card - globally available */
.travian-card {
    background: #FFF;
    border: 2px solid #DED3B0;
    border-radius: 4px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.08);
    overflow: hidden;
}

.travian-card-header {
    background: #F4E4BC;
    padding: 0.75rem 1rem;
    border-bottom: 2px solid #DED3B0;
}

.travian-card-header h2,
.travian-card-header h3 {
    margin: 0;
    color: #5C4A2A;
    font-weight: bold;
}

.travian-card-header h2 {
    font-size: 1.4rem;
}

.travian-card-header h3 {
    font-size: 1.2rem;
}

.header-subtitle {
    margin: 0.25rem 0 0 0;
    color: #7A6A4A;
    font-size: 0.85rem;
}

.travian-card-body {
    padding: 1rem;
}

/* Travian Buttons */
.travian-btn-back {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: #FFF;
    border: 2px solid #DED3B0;
    border-radius: 3px;
    color: #5C4A2A;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.15s;
}

.travian-btn-back:hover {
    background: #F4E4BC;
    border-color: #C8B890;
}

.travian-btn-primary {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: linear-gradient(135deg, #4A90C8 0%, #3A70A8 100%);
    border: 2px solid #2C5C8B;
    border-radius: 4px;
    color: #FFF;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s;
}

.travian-btn-primary:hover {
    background: linear-gradient(135deg, #5AA0D8 0%, #4A80B8 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* Empty State */
.empty-state {
    padding: 2rem;
    text-align: center;
    color: #7A6A4A;
}

.empty-state p {
    margin-bottom: 1rem;
}

/* ============================================
   CARDS & PANELS
   ============================================ */
.card {
    background: white;
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.card-header {
    border-bottom: 2px solid #C8B890;
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
}

.card-header h2 {
    color: #5C4A2A;
    font-size: 1.5rem;
}

.panel {
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    padding: 1.5rem;
    margin-bottom: 1rem;
}

/* ============================================
   FORMULARE
   ============================================ */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #555;
}

.form-control {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: #8B6B47;
}

.form-text {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.875rem;
    color: #666;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-primary {
    background: #5C4A2A;
    color: white;
}

.btn-primary:hover {
    background: #7A6A4A;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(92, 74, 42, 0.3);
}

.btn-success {
    background: #28a745;
    color: white;
}

.btn-success:hover {
    background: #218838;
}

.btn-danger {
    background: #dc3545;
    color: white;
}

.btn-danger:hover {
    background: #c82333;
}

.btn-secondary {
    background: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background: #5a6268;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-block {
    display: block;
    width: 100%;
}

/* ============================================
   FLASH MESSAGES
   ============================================ */
.flash-message {
    padding: 1rem 2rem;
    margin: 1rem 0;
    border-radius: 5px;
    font-weight: 500;
}

.flash-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.flash-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.flash-message.info {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

/* ============================================
   TABLES
   ============================================ */
.table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

.table th,
.table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

.table th {
    background: #f8f9fa;
    font-weight: 600;
    color: #5C4A2A;
}

.table tr:hover {
    background: #f8f9fa;
}

/* ============================================
   GRID SYSTEM
   ============================================ */
.grid {
    display: grid;
    gap: 1.5rem;
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

/* Responsive Grid */
@media (max-width: 1200px) {
    .grid-4 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   BADGES
   ============================================ */
.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 500;
}

.badge-primary {
    background: #5C4A2A;
    color: white;
}

.badge-success {
    background: #28a745;
    color: white;
}

.badge-danger {
    background: #dc3545;
    color: white;
}

.badge-warning {
    background: #ffc107;
    color: #333;
}

/* ============================================
   FOOTER
   ============================================ */
.main-footer {
    background: rgba(255, 255, 255, 0.95);
    padding: 2rem 0;
    margin-top: 4rem;
    text-align: center;
    color: #666;
}

.main-footer a {
    color: #8B6B47;
    text-decoration: none;
}

.main-footer a:hover {
    text-decoration: underline;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 2rem; }

.p-1 { padding: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 2rem; }

/* ============================================
   LOGIN/REGISTER SEITEN
   ============================================ */
.auth-container {
    max-width: 450px;
    margin: 4rem auto;
}

.auth-card {
    background: white;
    border-radius: 10px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.auth-card h1 {
    color: #5C4A2A;
    margin-bottom: 2rem;
    text-align: center;
}

.auth-footer {
    text-align: center;
    margin-top: 2rem;
    color: #666;
}

.auth-footer a {
    color: #8B6B47;
    text-decoration: none;
}

.auth-footer a:hover {
    text-decoration: underline;
}

/* ============================================
   BUILDING CARDS (Village View)
   ============================================ */
.building-card {
    display: block;
    transition: all 0.3s ease;
}

.building-card:hover {
    transform: translateY(-5px);
}

.building-card .panel {
    height: 100%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.building-card .panel:hover {
    background: #f8f9fa;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    border: 1px solid #C8B890;
}

/* Ressourcen-Grid - immer 4 Spalten auf Desktop */
.resource-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

@media (max-width: 1200px) {
    .resource-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .resource-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .resource-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   SERVER-UHR
   ============================================ */
.server-clock {
    display: flex;
    align-items: center;
    padding: 0.3rem 0.6rem;
    background: linear-gradient(135deg, #5C4A2A 0%, #8B6B47 100%);
    border-radius: 4px;
    font-family: 'Consolas', 'Monaco', monospace;
}

.clock-icon {
    font-size: 0.85rem;
    margin-right: 0.3rem;
}

.clock-time {
    font-size: 0.85rem;
    font-weight: bold;
    color: white;
    letter-spacing: 1px;
}

/* ============================================
   EVENT-BENACHRICHTIGUNGEN
   ============================================ */
.event-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.3s ease-out;
    max-width: 400px;
}

.event-notification-danger {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    border: 2px solid #a71d2a;
    color: white;
}

.event-notification-info {
    background: linear-gradient(135deg, #17a2b8 0%, #138496 100%);
    border: 2px solid #117a8b;
    color: white;
}

.event-notification-success {
    background: linear-gradient(135deg, #28a745 0%, #218838 100%);
    border: 2px solid #1e7e34;
    color: white;
}

.event-notification-message {
    background: linear-gradient(135deg, #5C4A2A 0%, #8B6B47 100%);
    border: 2px solid #4A3A1A;
    color: white;
}

.notification-content strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.notification-content p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.95;
}

.notification-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s;
    line-height: 1;
    padding: 0;
}

.notification-close:hover {
    opacity: 1;
}

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

.notification-fade-out {
    animation: fadeOut 0.5s ease-out forwards;
}

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

.notification-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.notification-btn {
    padding: 0.4rem 0.8rem;
    border: none;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.notification-btn-ok {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.notification-btn-ok:hover {
    background: rgba(255, 255, 255, 0.3);
}

.notification-btn-disable {
    background: rgba(0, 0, 0, 0.2);
    color: white;
    border: 1px solid rgba(0, 0, 0, 0.3);
}

.notification-btn-disable:hover {
    background: rgba(0, 0, 0, 0.3);
}

.event-notification .notification-close {
    position: absolute;
    top: 8px;
    right: 8px;
    font-size: 1.2rem;
}

/* Zusätzliche Styling-Regeln ohne Position zu überschreiben */
.event-notification {
    flex-direction: column;
    padding-right: 2.5rem;
}
