/* LARDIS Corporate Theme - Professional & Clean */

:root {
    --lardis-primary: rgba(7, 43, 69, 0.89);
    --lardis-primary-solid: rgb(7, 43, 69);
    --lardis-primary-light: rgba(7, 43, 69, 0.6);
    --lardis-primary-dark: rgba(5, 32, 52, 0.95);
    --lardis-gray: #616161;
    --lardis-light-gray: #f5f5f5;
    --lardis-dark-gray: #212121;
    --lardis-border: #e0e0e0;
    --lardis-success: #4caf50;
    --lardis-warning: #ff9800;
    --lardis-info: #2196f3;
}

/* Reset & Base Styles */
* {
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    background: #ffffff;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: var(--lardis-dark-gray);
    font-size: 16px;
}

/* Layout Structure */
.modern-layout {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.main-content {
    flex: 1;
    padding: 0;
}

/* Navigation - Corporate Clean */
.bg-lardis {
    background: var(--lardis-primary) !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: white !important;
    text-decoration: none;
}

.navbar-brand:hover {
    color: white !important;
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
    padding: 0.75rem 1rem !important;
}

.navbar-nav .nav-link:hover {
    color: white !important;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

/* Buttons - Corporate Style */
.btn-primary, .btn-danger {
    background: var(--lardis-primary-solid);
    border: 1px solid var(--lardis-primary-solid);
    color: white;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 4px;
    font-size: 16px;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.btn-primary:hover, .btn-danger:hover {
    background: var(--lardis-primary-dark);
    border-color: var(--lardis-primary-dark);
    color: white;
}

.btn-outline-danger {
    border: 1px solid var(--lardis-primary-solid);
    color: var(--lardis-primary-solid);
    font-weight: 600;
    border-radius: 4px;
    padding: 12px 24px;
    background: transparent;
    transition: all 0.2s ease;
}

.btn-outline-danger:hover {
    background: var(--lardis-primary-solid);
    border-color: var(--lardis-primary-solid);
    color: white;
}

.btn-secondary {
    background: var(--lardis-gray);
    border: 1px solid var(--lardis-gray);
    color: white;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 4px;
}

.btn-secondary:hover {
    background: #424242;
    border-color: #424242;
    color: white;
}

/* Cards - Clean Corporate */
.card {
    border: 1px solid var(--lardis-border);
    border-radius: 8px;
    background: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    margin-bottom: 2rem;
}

.card-header {
    border-radius: 8px 8px 0 0 !important;
    border-bottom: 1px solid var(--lardis-border);
    font-weight: 700;
    padding: 1.5rem;
    background: white;
}

.card-body {
    padding: 1.5rem;
}

.bg-primary, .bg-danger {
    background: var(--lardis-primary) !important;
    color: white;
}

.bg-primary .card-header, .bg-danger .card-header {
    background: var(--lardis-primary) !important;
    color: white;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

/* Hero Section - Professional */
.contest-hero {
    background: var(--lardis-primary);
    color: white;
    padding: 4rem 0;
    margin-bottom: 3rem;
    position: relative;
}
}

.hero-title {
    font-size: clamp(2rem, 4vw, 3.5rem) !important;
    font-weight: 700 !important;
    color: white !important;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: clamp(1.5rem, 3vw, 2rem) !important;
    font-weight: 500 !important;
    color: rgba(255, 255, 255, 0.95) !important;
    line-height: 1.5;
}

.hero-subsubtitle {
    font-size: clamp(1.1rem, 2vw, 1.4rem) !important;
    font-weight: 300 !important;
    color: rgba(255, 255, 255, 0.95) !important;
    line-height: 1.1;
}

/* Forms - Professional Styling */
.form-label {
    font-weight: 600;
    color: var(--lardis-black);
    margin-bottom: 0.5rem;
    display: block;
    font-size: 1rem;
}

.form-label .text-danger {
    color: var(--lardis-primary-solid) !important;
    margin-left: 4px;
}

.form-control {
    border: 1px solid var(--lardis-border);
    border-radius: 4px;
    padding: 12px 16px;
    font-size: 16px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    background: white;
    width: 100%;
}

.form-control:focus {
    border-color: var(--lardis-primary-solid);
    box-shadow: 0 0 0 2px rgba(7, 43, 69, 0.2);
    outline: none;
    background: white;
}

.form-control.is-invalid {
    border-color: #dc3545;
}

.form-control.is-valid {
    border-color: var(--lardis-success);
}

/* Form Text */
.form-text {
    color: var(--lardis-gray) !important;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* Video Upload Zone - Clean Professional */
.video-upload-zone {
    border: 2px dashed var(--lardis-border);
    border-radius: 8px;
    padding: 3rem 2rem;
    text-align: center;
    background: var(--lardis-light-gray);
    transition: border-color 0.2s ease;
    cursor: pointer;
}

.video-upload-zone:hover {
    border-color: var(--lardis-primary-solid);
}

.video-upload-zone.dragover {
    border-color: var(--lardis-primary-solid);
    background: rgba(7, 43, 69, 0.05);
}

.video-upload-zone i {
    font-size: 3rem;
    color: var(--lardis-gray);
    margin-bottom: 1rem;
}

.video-upload-zone h5 {
    color: var(--lardis-black);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.video-upload-zone p {
    color: var(--lardis-gray);
    margin-bottom: 0;
    font-size: 0.9rem;
}

/* Video Upload Zone - Success State */
.video-upload-zone.has-file {
    border: 2px solid var(--lardis-success);
    background: rgba(76, 175, 80, 0.05);
}

.video-upload-zone.has-file:hover {
    border-color: var(--lardis-success);
    background: rgba(76, 175, 80, 0.1);
}

.video-upload-zone.has-file i {
    color: var(--lardis-success);
}

.video-upload-zone.has-file h5 {
    color: var(--lardis-success);
}

/* Validation Messages */
.invalid-feedback {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.valid-feedback {
    color: var(--lardis-success);
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* Alerts */
.alert {
    border-radius: 4px;
    border: none;
    padding: 1rem 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.alert-success {
    background: #e8f5e8;
    color: #2e7d32;
    border-left: 4px solid var(--lardis-success);
}

.alert-danger {
    background: #ffebee;
    color: #c62828;
    border-left: 4px solid #f44336;
}

.alert-warning {
    background: #fff8e1;
    color: #ef6c00;
    border-left: 4px solid var(--lardis-warning);
}

.alert-info {
    background: #e3f2fd;
    color: #1565c0;
    border-left: 4px solid var(--lardis-info);
}

/* Tables - Admin Dashboard */
.table {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.table thead th {
    background: var(--lardis-light-gray);
    border-bottom: 2px solid var(--lardis-border);
    font-weight: 600;
    color: var(--lardis-black);
    padding: 1rem;
}

.table tbody td {
    padding: 1rem;
    border-bottom: 1px solid var(--lardis-border);
    vertical-align: middle;
}

.table tbody tr:last-child td {
    border-bottom: none;
}

/* Statistics Cards */
.stat-card {
    background: white;
    border: 1px solid var(--lardis-border);
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--lardis-primary-solid);
    display: block;
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--lardis-gray);
    font-weight: 500;
    margin-top: 0.5rem;
}

/* Footer */
.footer {
    background: var(--lardis-primary-dark);
    color: rgba(255, 255, 255, 0.9);
    padding: 2rem 0;
    margin-top: auto;
}

.footer a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

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

.footer .border-secondary {
    border-color: rgba(255, 255, 255, 0.2) !important;
}

/* Terms & Conditions */
.terms-content {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.terms-content h3 {
    color: var(--lardis-primary-solid);
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.terms-content h4 {
    color: var(--lardis-black);
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.terms-content ul {
    padding-left: 1.5rem;
}

.terms-content li {
    margin-bottom: 0.5rem;
}

/* Checkbox Styling */
.form-check-input:checked {
    background-color: var(--lardis-primary-solid);
    border-color: var(--lardis-primary-solid);
}

.form-check-input:focus {
    border-color: var(--lardis-primary-solid);
    box-shadow: 0 0 0 2px rgba(7, 43, 69, 0.25);
}

.form-check-label {
    font-weight: 500;
    cursor: pointer;
}

/* Responsive Design */
@media (max-width: 768px) {
    .contest-hero {
        padding: 2rem 0;
        margin-bottom: 2rem;
    }
    
    .hero-title {
        font-size: 2rem !important;
    }
    
    .hero-subtitle {
        font-size: 1.5rem !important;
    }

    .hero-subsubtitle {
        font-size: 1.1rem !important;
    }
    
    .card-body, .card-header {
        padding: 1rem;
    }
    
    .video-upload-zone {
        padding: 2rem 1rem;
    }
    
    .btn-primary, .btn-danger, .btn-outline-danger {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .navbar-brand {
        font-size: 1.25rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .table {
        font-size: 0.875rem;
    }
    
    .table thead th, .table tbody td {
        padding: 0.75rem 0.5rem;
    }
}

/* Loading States */
.btn[disabled] {
    opacity: 0.6;
    cursor: not-allowed;
}

.spinner-border-sm {
    width: 1rem;
    height: 1rem;
}

/* File Input Styling */
input[type="file"] {
    border: 1px solid var(--lardis-border);
    border-radius: 4px;
    padding: 8px 12px;
    width: 100%;
    background: white;
}

/* Error States */
.is-invalid {
    border-color: #dc3545 !important;
}

.is-valid {
    border-color: var(--lardis-success) !important;
}

/* Blaulicht Badge - Professional */
.blaulicht-badge {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 0.75rem 2rem;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 500;
    display: inline-block;
    margin-top: 1.5rem;
    backdrop-filter: blur(10px);
}

/* Alert Overrides for Hero */
.contest-hero .alert {
    background: rgba(255, 255, 255, 0.15) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    color: white !important;
    border-radius: 6px;
    font-weight: 500;
}

/* Animation for Form Submission */
.submitting {
    opacity: 0.8;
    pointer-events: none;
}

/* LARDIS Brand Colors */
.text-lardis {
    color: var(--lardis-primary-solid) !important;
}

.bg-lardis-primary {
    background-color: var(--lardis-primary) !important;
    color: white;
}

/* Admin Dashboard Specific Styles */
.text-danger {
    color: var(--lardis-blue) !important;
}

.bg-danger {
    background: var(--lardis-blue) !important;
}

/* Icon Colors */
.bi-envelope-fill,
.bi-geo-alt-fill,
.bi-camera-video-fill,
.bi-image-fill,
.bi-instagram,
.bi-person-fill,
.bi-person-badge-fill,
.bi-shield-fill-check,
.bi-flag-fill {
    color: var(--lardis-blue);
}

.admin-media-preview {
    width: 100%;
    max-height: 320px;
    margin-bottom: 0.75rem;
    border: 1px solid var(--lardis-border);
    border-radius: 8px;
    background: #000;
    object-fit: contain;
}

.admin-review-panel {
    margin-top: 1.5rem;
    padding: 1rem;
    border: 1px solid var(--lardis-border);
    border-radius: 8px;
    background: linear-gradient(180deg, #fafbfd 0%, #f3f6f9 100%);
}

.admin-review-summary {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.25rem;
}

.review-stars,
.star-selector {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.review-stars {
    color: #f0b429;
}

.review-star-symbol {
    font-size: 1.2rem;
    line-height: 1;
}

.star-button {
    width: 2.5rem;
    height: 2.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #d5dbe3;
    border-radius: 999px;
    background: #fff;
    color: #c2c8cf;
    font-size: 1.1rem;
    transition: transform 0.15s ease, color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.star-button-symbol {
    font-size: 1.35rem;
    line-height: 1;
}

.star-button:hover {
    color: #f0b429;
    border-color: #f0b429;
    transform: translateY(-1px);
}

.star-button.selected {
    color: #f0b429;
    border-color: #f0b429;
    box-shadow: 0 0 0 3px rgba(240, 180, 41, 0.15);
}

.admin-comment-box {
    min-height: 110px;
    resize: vertical;
}
