/* Main Styles */
body {
    background-color: #f8f9fc;
}

/* Card Borders */
.border-left-primary {
    border-left: .25rem solid #4e73df !important;
}

.border-left-success {
    border-left: .25rem solid #1cc88a !important;
}

.border-left-info {
    border-left: .25rem solid #36b9cc !important;
}

.border-left-warning {
    border-left: .25rem solid #f6c23e !important;
}

.border-left-danger {
    border-left: .25rem solid #e74a3b !important;
}

/* Card Text Styles */
.text-xs {
    font-size: .7rem;
}

.text-gray-300 {
    color: #dddfeb !important;
}

.text-gray-800 {
    color: #5a5c69 !important;
}

/* Chart Container */
.chart-area {
    position: relative;
    height: 20rem;
    width: 100%;
}

.chart-pie {
    position: relative;
    height: 20rem;
    width: 100%;
}

/* Footer Styling */
.footer {
    margin-top: 3rem;
}

/* Table Improvements */
.table-hover tbody tr:hover {
    background-color: rgba(78, 115, 223, 0.05);
}

/* Card Shadow */
.shadow {
    box-shadow: 0 .15rem 1.75rem 0 rgba(58, 59, 69, .15) !important;
}

/* Custom Buttons */
.btn-icon-split {
    padding: 0;
    overflow: hidden;
    display: inline-flex;
    align-items: stretch;
    justify-content: center;
}

.btn-icon-split .icon {
    background: rgba(0, 0, 0, .15);
    display: inline-block;
    padding: .375rem .75rem;
}

.btn-icon-split .text {
    display: inline-block;
    padding: .375rem .75rem;
}

/* Newsletter Detail Page */
.newsletter-content {
    background-color: white;
    border: 1px solid #e3e6f0;
    border-radius: .35rem;
    padding: 1.25rem;
}

.newsletter-header {
    border-bottom: 1px solid #e3e6f0;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
}

.newsletter-meta {
    font-size: .85rem;
    color: #858796;
}

/* Analysis Detail */
.analysis-section {
    margin-bottom: 1.5rem;
}

.analysis-section h5 {
    color: #4e73df;
    border-bottom: 1px solid #e3e6f0;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    background-color: #eaecf4;
    color: #5a5c69;
    padding: 0.25rem 0.75rem;
    border-radius: 50rem;
    font-size: 0.75rem;
}

/* Report Page */
.report-card {
    transition: transform .2s;
}

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

/* Media Queries */
@media (max-width: 768px) {
    .chart-area, .chart-pie {
        height: 15rem;
    }
}

/* Horze-Farbschema - überarbeitete Version */
:root {
    --horze-primary: #000000;
    --horze-secondary: #7a7a7a;
    --horze-accent: #c73a1d;
    --horze-light: #f5f5f5;
    --horze-border: #e0e0e0;
    --horze-hover: #f0f0f0;
    --horze-card-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --horze-btn-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

body {
    font-family: 'Arial', sans-serif;
    color: #333;
    background-color: #f9f9f9;
    line-height: 1.6;
}

/* Verbesserte Navbar im Horze-Stil */
.navbar {
    background-color: var(--horze-primary) !important;
    padding: 0.5rem 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.navbar-brand {
    font-weight: 600;
    letter-spacing: 0.5px;
}

.navbar-dark .navbar-nav .nav-link {
    color: #fff;
    font-size: 0.9rem;
    padding: 0.75rem 1rem;
    transition: all 0.2s ease;
}

.navbar-dark .navbar-nav .nav-link:hover {
    color: rgba(255, 255, 255, 0.95);
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

.navbar-dark .navbar-nav .nav-link.active {
    color: #fff;
    background-color: var(--horze-accent);
    font-weight: 500;
}

/* Verbesserte Cards im Horze-Stil */
.card {
    border: 1px solid var(--horze-border);
    border-radius: 4px;
    box-shadow: var(--horze-card-shadow);
    margin-bottom: 1.5rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.card-header {
    background-color: white;
    border-bottom: 1px solid var(--horze-border);
    font-weight: 600;
    padding: 1rem;
}

.card .text-primary, 
.card .font-weight-bold.text-primary {
    color: var(--horze-primary) !important;
}

/* Verbesserte Buttons im Horze-Stil */
.btn {
    border-radius: 3px;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.85rem;
    padding: 0.5rem 1.25rem;
    letter-spacing: 0.5px;
    transition: all 0.2s ease;
    box-shadow: var(--horze-btn-shadow);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.btn-primary {
    background-color: var(--horze-accent);
    border-color: var(--horze-accent);
}

.btn-primary:hover, .btn-primary:focus {
    background-color: #a32e17;
    border-color: #a32e17;
}

.btn-outline-primary {
    color: var(--horze-accent);
    border-color: var(--horze-accent);
}

.btn-outline-primary:hover {
    background-color: var(--horze-accent);
    border-color: var(--horze-accent);
}

/* Verbesserte Tabellen im Horze-Stil */
.table {
    color: #333;
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
    margin-bottom: 1rem;
    border: 1px solid var(--horze-border);
    border-radius: 4px;
    overflow: hidden;
}

.table thead th {
    border-bottom: 2px solid var(--horze-primary);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    color: var(--horze-primary);
    padding: 0.75rem;
    background-color: #f8f9fa;
}

.table td {
    padding: 0.75rem;
    vertical-align: middle;
    border-top: 1px solid var(--horze-border);
}

.table-hover tbody tr:hover {
    background-color: var(--horze-hover);
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(0, 0, 0, 0.02);
}

/* Dashboard-Komponenten */
.dashboard-card {
    border-radius: 4px;
    padding: 1.5rem;
    height: 100%;
    transition: all 0.3s ease;
}

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

.dashboard-card-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--horze-primary);
}

.dashboard-card-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--horze-accent);
}

/* Verbesserter Footer */
.footer {
    background-color: var(--horze-primary);
    color: white;
    padding: 2rem 0;
    margin-top: 3rem;
}

.footer h5 {
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
}

.footer h5:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -0.5rem;
    width: 50px;
    height: 2px;
    background-color: var(--horze-accent);
}

.footer ul li {
    margin-bottom: 0.5rem;
}

.footer a {
    transition: all 0.2s ease;
}

.footer a:hover {
    color: #fff !important;
    text-decoration: none;
    padding-left: 5px;
}

/* Formulare */
.form-control {
    border-radius: 3px;
    border: 1px solid var(--horze-border);
    padding: 0.5rem 0.75rem;
    font-size: 0.9rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-control:focus {
    border-color: var(--horze-accent);
    box-shadow: 0 0 0 0.2rem rgba(199, 58, 29, 0.25);
}

.form-label {
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--horze-secondary);
    margin-bottom: 0.5rem;
}

/* Badges */
.badge {
    font-weight: 500;
    padding: 0.4em 0.6em;
    border-radius: 3px;
}

.badge-primary {
    background-color: var(--horze-accent);
}

/* Alerts */
.alert {
    border-radius: 4px;
    padding: 1rem;
    margin-bottom: 1.5rem;
    border: none;
    box-shadow: var(--horze-card-shadow);
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
}

.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
}

.alert-warning {
    background-color: #fff3cd;
    color: #856404;
}

/* Responsives Design */
@media (max-width: 768px) {
    .navbar-brand {
        font-size: 1.1rem;
    }
    
    .card-header {
        padding: 0.75rem;
    }
    
    .table-responsive {
        border-radius: 4px;
        overflow: hidden;
    }
}

/* Charts und Grafiken */
.chart-bar, .chart-pie {
    position: relative;
    height: 20rem;
    width: 100%;
}

/* Accordion im Horze-Stil */
.accordion-button {
    background-color: white;
    color: var(--horze-primary);
    font-weight: 500;
    padding: 1rem;
    border: 1px solid var(--horze-border);
}

.accordion-button:not(.collapsed) {
    background-color: var(--horze-light);
    color: var(--horze-primary);
}

.accordion-button:focus {
    box-shadow: none;
    border-color: var(--horze-border);
}

.accordion-body {
    padding: 1.25rem;
    border: 1px solid var(--horze-border);
    border-top: none;
}

/* Einstellungen für das Horze-Logo */
.horze-logo {
    height: 35px;
    width: auto;
    margin-right: 0.5rem;
    display: inline-block;
    vertical-align: middle;
} 