/* Main Application Styles - Complete */

/* ========== DASHBOARD (index.html) ========== */
.dashboard-header {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.dashboard-header h1 {
    margin: 0;
    font-size: 2.5rem;
}

.mission-info-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border-left: 5px solid #e74c3c;
}

.mission-info-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.mission-info-header h2 {
    margin: 0;
    color: #2c3e50;
    font-size: 1.5rem;
}

.edit-mission-btn {
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.edit-mission-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

.mission-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.mission-info-item {
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 3px solid #e74c3c;
}

.mission-info-label {
    font-size: 0.875rem;
    color: #7f8c8d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.mission-info-value {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
}

.mission-info-value.empty {
    color: #95a5a6;
    font-style: italic;
}

.mission-bemerkungen {
    margin-top: 1.5rem;
    padding: 1rem;
    background: #fff3cd;
    border-radius: 8px;
    border-left: 3px solid #f39c12;
}

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

.stat-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    text-align: center;
    transition: all 0.3s;
    border-top: 4px solid #3498db;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.stat-card.total {
    border-top-color: #27ae60;
}

.stat-card.capacity {
    border-top-color: #f39c12;
}

.stat-card h3 {
    font-size: 2.5rem;
    margin: 0 0 0.5rem 0;
    color: #2c3e50;
}

.stat-card p {
    margin: 0;
    color: #7f8c8d;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.capacity-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.capacity-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    text-align: center;
}

.capacity-card.liegend {
    border-top: 4px solid #27ae60;
}

.capacity-card.sitzend {
    border-top: 4px solid #2196f3;
}

.capacity-card.stuhl {
    border-top: 4px solid #ff9800;
}

.capacity-card.besatzung {
    border-top: 4px solid #9b59b6;
}

.capacity-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.capacity-number {
    font-size: 2rem;
    font-weight: bold;
    color: #2c3e50;
    margin: 0.5rem 0;
}

.capacity-label {
    color: #7f8c8d;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.quick-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.action-card {
    padding: 1.5rem;
    border-radius: 12px;
    text-decoration: none;
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    text-align: center;
    transition: all 0.3s;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.action-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

.action-card.primary {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
}

.action-card.success {
    background: linear-gradient(135deg, #27ae60 0%, #229954 100%);
}

.action-card.warning {
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
}

.action-card.danger {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
}

.section-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #2c3e50;
    margin: 2rem 0 1rem 0;
}

/* ========== ADMIN DASHBOARD ========== */
.admin-header {
    background: linear-gradient(135deg, #8e44ad 0%, #9b59b6 100%);
    color: white;
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(142, 68, 173, 0.3);
}

.admin-header h1 {
    margin: 0;
    font-size: 2.5rem;
}

.admin-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.admin-stat-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: all 0.3s;
    border-top: 4px solid #8e44ad;
}

.admin-stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 25px rgba(0,0,0,0.15);
}

.admin-stat-card h3 {
    font-size: 3rem;
    margin: 0 0 0.5rem 0;
    color: #8e44ad;
}

.admin-stat-card p {
    margin: 0;
    color: #7f8c8d;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.admin-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.admin-action-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-decoration: none;
    transition: all 0.3s;
    border-left: 5px solid #8e44ad;
}

.admin-action-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 25px rgba(0,0,0,0.15);
}

.admin-action-card h3 {
    margin: 0 0 0.5rem 0;
    color: #2c3e50;
    font-size: 1.5rem;
}

.admin-action-card p {
    margin: 0;
    color: #7f8c8d;
}

.quick-links {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.quick-links h2 {
    margin: 0 0 1.5rem 0;
    color: #2c3e50;
}

.link-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.quick-link {
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, #8e44ad 0%, #9b59b6 100%);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    transition: all 0.3s;
}

.quick-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(142, 68, 173, 0.3);
}

/* ========== ADMIN USERS ========== */
.users-header {
    background: linear-gradient(135deg, #8e44ad 0%, #9b59b6 100%);
    color: white;
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 20px rgba(142, 68, 173, 0.3);
}

.users-header h1 {
    margin: 0;
    font-size: 2rem;
}

.add-user-btn {
    padding: 0.75rem 1.5rem;
    background: white;
    color: #8e44ad;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.add-user-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255,255,255,0.3);
}

.users-table-container {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.users-table {
    width: 100%;
    border-collapse: collapse;
}

.users-table thead {
    background: linear-gradient(135deg, #34495e 0%, #2c3e50 100%);
    color: white;
}

.users-table th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.5px;
}

.users-table tbody tr {
    border-bottom: 1px solid #ecf0f1;
    transition: background-color 0.2s;
}

.users-table tbody tr:hover {
    background: #f8f9fa;
}

.users-table td {
    padding: 1rem;
    vertical-align: middle;
}

.user-email {
    font-weight: 600;
    color: #2c3e50;
}

.badge {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
}

.badge.admin {
    background: #e74c3c;
    color: white;
}

.badge.user {
    background: #3498db;
    color: white;
}

.action-buttons {
    display: flex;
    gap: 0.5rem;
}

.btn-small {
    padding: 0.5rem 0.75rem;
    border: none;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-small.edit {
    background: #3498db;
    color: white;
}

.btn-small.delete {
    background: #e74c3c;
    color: white;
}

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

.empty-state {
    text-align: center;
    padding: 3rem;
    color: #7f8c8d;
}

.back-link {
    display: inline-block;
    margin-top: 2rem;
    padding: 1rem 2rem;
    background: #95a5a6;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s;
}

.back-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(149, 165, 166, 0.3);
}

/* ========== ADMIN USER EDIT ========== */
.user-edit-container {
    max-width: 700px;
    margin: 0 auto;
}

.user-edit-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    overflow: hidden;
}

.user-edit-header {
    background: linear-gradient(135deg, #8e44ad 0%, #9b59b6 100%);
    color: white;
    padding: 2rem;
    text-align: center;
}

.user-edit-header h1 {
    margin: 0;
    font-size: 1.75rem;
}

.user-edit-body {
    padding: 2rem;
}

.form-section {
    margin-bottom: 2rem;
}

.form-field {
    margin-bottom: 1.5rem;
}

.form-field label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #2c3e50;
    font-size: 0.95rem;
}

.form-field input[type="email"],
.form-field input[type="password"],
.form-field input[type="text"],
.form-field input[type="number"],
.form-field select {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #dee2e6;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.form-field input:focus,
.form-field select:focus {
    outline: none;
    border-color: #8e44ad;
}

.form-field.checkbox {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #8e44ad;
}

.form-field.checkbox input[type="checkbox"] {
    width: 24px;
    height: 24px;
    cursor: pointer;
}

.form-field.checkbox label {
    margin: 0;
    cursor: pointer;
    flex: 1;
}

.help-text {
    font-size: 0.875rem;
    color: #7f8c8d;
    margin-top: 0.25rem;
}

.btn-save {
    flex: 1;
    padding: 1.25rem;
    font-size: 1.25rem;
    font-weight: bold;
    background: linear-gradient(135deg, #27ae60 0%, #229954 100%);
    color: white;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-save:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(39, 174, 96, 0.4);
}

.btn-cancel {
    padding: 1.25rem 2rem;
    font-size: 1.25rem;
    font-weight: bold;
    background: #95a5a6;
    color: white;
    border: none;
    border-radius: 12px;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.btn-cancel:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(149, 165, 166, 0.4);
}

/* ========== MISSION EDIT ========== */
.mission-container {
    max-width: 900px;
    margin: 0 auto;
}

.mission-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    overflow: hidden;
}

.mission-header {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
    padding: 2rem;
    text-align: center;
}

.mission-header h1 {
    margin: 0;
    font-size: 1.75rem;
}

.mission-body {
    padding: 2rem;
}

.form-section {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 12px;
    border-left: 4px solid #e74c3c;
}

.form-section h3 {
    margin: 0 0 1rem 0;
    color: #2c3e50;
    font-size: 1.1rem;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-field {
    display: flex;
    flex-direction: column;
}

.form-field label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #2c3e50;
    font-size: 0.95rem;
}

.form-field input,
.form-field textarea {
    padding: 0.75rem;
    border: 2px solid #dee2e6;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.2s;
}

.form-field input:focus,
.form-field textarea:focus {
    outline: none;
    border-color: #e74c3c;
}

.form-field textarea {
    min-height: 100px;
    resize: vertical;
}

/* ========== VEHICLE REGISTER ========== */
.register-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0;
}

.register-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    overflow: hidden;
}

.register-header {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    padding: 2rem;
    text-align: center;
}

.register-header h1 {
    margin: 0 0 1rem 0;
    font-size: 1.75rem;
}

.progress-bar-container {
    height: 6px;
    background: rgba(255,255,255,0.3);
    border-radius: 3px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: white;
    width: 0%;
    transition: width 0.3s ease;
}

.register-body {
    padding: 2rem;
}

.form-step {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 12px;
    border-left: 4px solid #3498db;
}

.form-step.completed {
    border-left-color: #27ae60;
    background: #e8f8f5;
}

.form-step label {
    display: block;
    font-weight: bold;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.option-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 0.75rem;
}

.option-item {
    position: relative;
}

.option-item input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.option-item label {
    display: block;
    padding: 1.25rem 0.75rem;
    background: white;
    border: 3px solid #dee2e6;
    border-radius: 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0;
}

.option-item label:hover {
    border-color: #3498db;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(52, 152, 219, 0.3);
}

.option-item input[type="radio"]:checked + label {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    border-color: #2980b9;
    transform: scale(1.05);
}

.option-item label small {
    display: block;
    font-size: 0.75rem;
    margin-top: 0.25rem;
    opacity: 0.8;
}

.text-input, .number-input {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
    border: 2px solid #dee2e6;
    border-radius: 8px;
    margin-bottom: 0.5rem;
}

.number-input {
    text-align: center;
    font-size: 1.5rem;
    font-weight: bold;
}

.text-input:focus, .number-input:focus {
    outline: none;
    border-color: #3498db;
}

.quick-numbers {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.quick-btn {
    padding: 0.75rem;
    background: white;
    border: 2px solid #dee2e6;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.25rem;
    font-weight: bold;
    transition: all 0.2s;
}

.quick-btn:hover {
    border-color: #3498db;
    background: #3498db;
    color: white;
    transform: scale(1.05);
}

.suggestion-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.suggestion-chip {
    padding: 0.5rem 1rem;
    background: #fff3cd;
    border: 1px solid #f39c12;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.875rem;
    transition: all 0.2s;
}

.suggestion-chip:hover {
    background: #f39c12;
    color: white;
}

.preview-box {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    margin: 2rem 0;
    color: white;
}

.preview-box .label {
    font-size: 0.875rem;
    opacity: 0.8;
    margin-bottom: 0.5rem;
}

.preview-box .funkrufname {
    font-size: 2.25rem;
    font-weight: bold;
    margin-bottom: 0.75rem;
    letter-spacing: 2px;
}

.preview-box .details {
    font-size: 1.1rem;
    opacity: 0.9;
}

.capacity-info {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1rem;
}

.capacity-badge {
    background: rgba(255,255,255,0.2);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
}

.submit-btn {
    width: 100%;
    padding: 1.5rem;
    font-size: 1.35rem;
    font-weight: bold;
    background: linear-gradient(135deg, #27ae60 0%, #229954 100%);
    color: white;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    margin-top: 1rem;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(39, 174, 96, 0.5);
}

.cancel-btn {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
    background: #e74c3c;
    color: white;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    display: block;
    text-align: center;
    margin-top: 0.5rem;
}

.checkbox-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: white;
    border-radius: 8px;
}

.checkbox-row input[type="checkbox"] {
    width: 24px;
    height: 24px;
}

.checkbox-row label {
    font-size: 1rem;
    font-weight: normal;
    margin: 0;
}

.step-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: #3498db;
    color: white;
    border-radius: 50%;
    font-size: 1rem;
    flex-shrink: 0;
}

.form-step.completed .step-icon {
    background: #27ae60;
}

/* ========== VEHICLE EDIT ========== */
.edit-container {
    max-width: 800px;
    margin: 0 auto;
}

.edit-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    overflow: hidden;
}

.edit-header {
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
    color: white;
    padding: 2rem;
    text-align: center;
}

.edit-header h1 {
    margin: 0;
    font-size: 1.75rem;
}

.edit-header .vehicle-name {
    margin-top: 0.5rem;
    font-size: 1.1rem;
    opacity: 0.9;
}

.edit-body {
    padding: 2rem;
}

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

.capacity-item {
    text-align: center;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    border: 2px solid #dee2e6;
}

.capacity-item .icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.capacity-item label {
    display: block;
    font-size: 0.875rem;
    color: #7f8c8d;
    margin-bottom: 0.5rem;
}

.capacity-item input {
    width: 80px;
    padding: 0.5rem;
    border: 2px solid #dee2e6;
    border-radius: 6px;
    text-align: center;
    font-size: 1.25rem;
    font-weight: bold;
}

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

.radio-option {
    flex: 1;
}

.radio-option input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.radio-option label {
    display: block;
    padding: 1rem;
    background: white;
    border: 3px solid #dee2e6;
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 600;
}

.radio-option input[type="radio"]:checked + label {
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
    color: white;
    border-color: #e67e22;
    transform: scale(1.05);
}

/* ========== VEHICLE LIST ========== */
.list-header {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(52, 152, 219, 0.3);
}

.list-header h1 {
    margin: 0;
    font-size: 2rem;
}

.stats-bar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.stat-box {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-left: 4px solid #3498db;
}

.stat-box .number {
    font-size: 2.5rem;
    font-weight: bold;
    color: #3498db;
    margin: 0;
}

.stat-box .label {
    font-size: 0.875rem;
    color: #7f8c8d;
    text-transform: uppercase;
    margin-top: 0.5rem;
}

.action-bar {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.search-box {
    flex: 1;
    min-width: 250px;
}

.search-box input {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid #ddd;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s;
}

.search-box input:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.filter-buttons {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.875rem 1.5rem;
    border: 2px solid #ddd;
    background: white;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 600;
}

.filter-btn.active {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    border-color: #2980b9;
}

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

.sort-controls {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.sort-controls label {
    font-weight: 600;
    color: #2c3e50;
}

.sort-controls select {
    padding: 0.75rem 1rem;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    background: white;
}

.items-per-page {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.items-per-page button {
    padding: 0.5rem 1rem;
    border: 2px solid #ddd;
    background: white;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 600;
}

.items-per-page button.active {
    background: #3498db;
    color: white;
    border-color: #3498db;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.pagination-btn {
    padding: 0.75rem 1.25rem;
    border: 2px solid #ddd;
    background: white;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 600;
}

.pagination-btn:hover:not(:disabled) {
    background: #3498db;
    color: white;
    border-color: #3498db;
}

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

.pagination-btn.active {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    border-color: #2980b9;
}

.pagination-info {
    padding: 0.75rem 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    font-weight: 600;
    color: #2c3e50;
}

.vehicle-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.list-view .vehicle-grid {
    display: none;
}

.vehicle-table {
    display: none;
    width: 100%;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.list-view .vehicle-table {
    display: table;
}

.vehicle-table table {
    width: 100%;
    border-collapse: collapse;
}

.vehicle-table thead {
    background: linear-gradient(135deg, #34495e 0%, #2c3e50 100%);
    color: white;
}

.vehicle-table th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.vehicle-table tbody tr {
    border-bottom: 1px solid #ecf0f1;
    transition: background-color 0.2s;
}

.vehicle-table tbody tr:hover {
    background: #f8f9fa;
}

.vehicle-table tbody tr.out {
    opacity: 0.6;
}

.vehicle-table td {
    padding: 1rem;
    vertical-align: middle;
}

.vehicle-table .col-name {
    font-weight: bold;
    color: #2c3e50;
}

.vehicle-table .col-type {
    font-size: 0.875rem;
}

.vehicle-table .type-badge {
    display: inline-block;
    padding: 0.3rem 0.7rem;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
}

.vehicle-table .capacity-cell {
    white-space: nowrap;
}

.vehicle-table .cap-badge {
    display: inline-block;
    padding: 0.3rem 0.6rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-right: 0.4rem;
}

.vehicle-table .cap-badge.liegend { background: #e8f5e9; color: #27ae60; }
.vehicle-table .cap-badge.sitzend { background: #e3f2fd; color: #2196f3; }
.vehicle-table .cap-badge.stuhl { background: #fff3e0; color: #ff9800; }

.vehicle-table .bayrdg-cell .yes {
    color: #27ae60;
    font-weight: bold;
}

.vehicle-table .bayrdg-cell .no {
    color: #e74c3c;
    font-weight: bold;
}

.vehicle-table .actions-cell {
    white-space: nowrap;
    text-align: right;
}

.vehicle-table .action-btn-small {
    padding: 0.4rem 0.75rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.8rem;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-block;
    margin-left: 0.3rem;
}

.vehicle-table .action-btn-small:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.vehicle-table .action-btn-small.edit {
    background: #3498db;
    color: white;
}

.vehicle-table .action-btn-small.checkout {
    background: #f39c12;
    color: white;
}

.vehicle-table .action-btn-small.checkin {
    background: #27ae60;
    color: white;
}

.vehicle-table .action-btn-small.delete {
    background: #e74c3c;
    color: white;
    padding: 0.4rem 0.6rem;
}

.view-toggle {
    display: flex;
    gap: 0.5rem;
}

.view-toggle button {
    padding: 0.75rem 1.25rem;
    border: 2px solid #ddd;
    background: white;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 600;
}

.view-toggle button.active {
    background: #3498db;
    color: white;
    border-color: #3498db;
}

.vehicle-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s;
    border-left: 5px solid #27ae60;
    position: relative;
}

.vehicle-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 25px rgba(0,0,0,0.15);
}

.vehicle-card.out {
    border-left-color: #95a5a6;
    opacity: 0.7;
}

.vehicle-card.selected {
    border-color: #27ae60;
    background: #e8f8f5;
    box-shadow: 0 4px 8px rgba(39, 174, 96, 0.3);
}

.vehicle-card input[type="checkbox"] {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 24px;
    height: 24px;
    cursor: pointer;
}

.vehicle-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 1rem;
}

.vehicle-name {
    font-size: 1.25rem;
    font-weight: bold;
    color: #2c3e50;
}

.vehicle-type {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
}

.vehicle-info {
    display: grid;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.info-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #555;
}

.info-icon {
    font-size: 1.25rem;
    width: 30px;
}

.capacity-badges {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.capacity-badge.liegend { background: #e8f5e9; color: #27ae60; }
.capacity-badge.sitzend { background: #e3f2fd; color: #2196f3; }
.capacity-badge.stuhl { background: #fff3e0; color: #ff9800; }

.bayrdg-badge {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 600;
}

.bayrdg-badge.yes {
    background: #d4edda;
    color: #155724;
}

.bayrdg-badge.no {
    background: #f8d7da;
    color: #721c24;
}

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

.action-btn {
    flex: 1;
    padding: 0.75rem 1rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
    text-decoration: none;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
}

.action-btn.edit {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
}

.action-btn.checkout {
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
    color: white;
}

.action-btn.checkin {
    background: linear-gradient(135deg, #27ae60 0%, #229954 100%);
    color: white;
}

.action-btn.delete {
    background: #e74c3c;
    color: white;
    flex: 0;
    padding: 0.75rem;
}

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

.empty-state-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.3;
}

.bottom-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.main-btn {
    flex: 1;
    min-width: 200px;
    padding: 1.25rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    text-align: center;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.main-btn.add {
    background: linear-gradient(135deg, #27ae60 0%, #229954 100%);
    color: white;
}

.main-btn.home {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
}

.main-btn.multi {
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
    color: white;
}

.main-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

/* ========== CHECKOUT MULTIPLE ========== */
.multi-checkout-container {
    max-width: 1000px;
    margin: 0 auto;
}

.checkout-header {
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
    color: white;
    padding: 2rem;
    border-radius: 8px 8px 0 0;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.checkout-header h1 {
    margin: 0 0 0.5rem 0;
    font-size: 2rem;
}

.checkout-header .subtitle {
    opacity: 0.9;
    font-size: 1rem;
}

.checkout-body {
    background: white;
    padding: 2rem;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.stat-item {
    flex: 1;
    text-align: center;
    padding: 1rem;
    background: white;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.stat-number {
    font-size: 2rem;
    font-weight: bold;
    color: #3498db;
}

.stat-label {
    font-size: 0.875rem;
    color: #7f8c8d;
    margin-top: 0.25rem;
}

.filter-section {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.vehicle-card-header {
    font-size: 1.125rem;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    padding-right: 2rem;
}

.vehicle-card-type {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: #3498db;
    color: white;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.vehicle-card-org {
    color: #7f8c8d;
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

.vehicle-card-capacity {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.5rem;
    font-size: 0.75rem;
}

.destination-input-group {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.destination-input-group label {
    font-size: 1.125rem;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 1rem;
    display: block;
}

.quick-select-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.quick-select-btn {
    padding: 0.5rem 1rem;
    background: white;
    border: 1px solid #ddd;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.875rem;
}

.quick-select-btn:hover {
    background: #3498db;
    color: white;
    border-color: #3498db;
}

.destination-input {
    width: 100%;
    padding: 1rem;
    font-size: 1.125rem;
    border: 2px solid #ddd;
    border-radius: 8px;
    transition: border-color 0.2s;
}

.destination-input:focus {
    outline: none;
    border-color: #3498db;
}

.action-bar {
    position: sticky;
    bottom: 0;
    background: white;
    padding: 1.5rem;
    border-top: 2px solid #e0e0e0;
    display: flex;
    gap: 1rem;
    align-items: center;
    box-shadow: 0 -4px 6px rgba(0,0,0,0.05);
    border-radius: 0 0 8px 8px;
}

.submit-btn-large {
    flex: 1;
    padding: 1.25rem;
    font-size: 1.25rem;
    font-weight: bold;
    background: #27ae60;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.submit-btn-large:hover {
    background: #229954;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(39, 174, 96, 0.3);
}

.submit-btn-large:disabled {
    background: #95a5a6;
    cursor: not-allowed;
    transform: none;
}

.selection-summary {
    padding: 1rem;
    background: #e8f8f5;
    border-radius: 6px;
    font-weight: bold;
    color: #27ae60;
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 768px) {
    .vehicle-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-bar {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .action-bar {
        flex-direction: column;
    }
    
    .option-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .capacity-grid {
        grid-template-columns: 1fr;
    }
    
    .action-buttons {
        flex-direction: column;
    }
    
    .users-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .dashboard-header h1,
    .admin-header h1 {
        font-size: 1.5rem;
    }
    
    /* Vehicle Register Responsive */
    .register-container {
        padding: 0;
    }
    
    .register-card {
        border-radius: 0;
    }
    
    .register-header {
        padding: 1.5rem 1rem;
    }
    
    .register-header h1 {
        font-size: 1.5rem;
    }
    
    .register-body {
        padding: 1rem;
    }
    
    .form-step {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .form-step label {
        font-size: 1rem;
    }
    
    .option-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }
    
    .option-item label {
        padding: 1rem 0.5rem;
        font-size: 0.85rem;
    }
    
    .option-item label small {
        font-size: 0.7rem;
    }
    
    .quick-numbers {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 0.5rem;
    }
    
    .quick-btn {
        padding: 0.6rem;
        font-size: 1rem;
    }
    
    .text-input,
    .number-input {
        padding: 0.75rem;
        font-size: 0.9rem;
    }
    
    .number-input {
        font-size: 1.25rem;
    }
    
    .preview-box {
        padding: 1.5rem 1rem;
        margin: 1.5rem 0;
    }
    
    .preview-box .funkrufname {
        font-size: 1.5rem;
        letter-spacing: 1px;
        word-break: break-all;
    }
    
    .preview-box .details {
        font-size: 0.95rem;
    }
    
    .capacity-info {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .capacity-badge {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
    }
    
    .submit-btn {
        padding: 1.25rem;
        font-size: 1.1rem;
    }
    
    .cancel-btn {
        padding: 0.875rem;
        font-size: 0.95rem;
    }
    
    #selforga_code {
        font-size: 1.2rem !important;
        letter-spacing: 2px !important;
    }
    
    #generateCodeBtn {
        padding: 0.75rem 1rem !important;
        font-size: 0.875rem !important;
    }
}

@media (max-width: 480px) {
    .option-grid {
        grid-template-columns: 1fr;
    }
    
    .quick-numbers {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    .register-header h1 {
        font-size: 1.25rem;
    }
    
    .form-step label {
        font-size: 0.95rem;
    }
    
    .preview-box .funkrufname {
        font-size: 1.25rem;
    }
    
    .capacity-grid {
        grid-template-columns: 1fr;
    }
}

@media print {
    .vehicle-actions,
    .action-btn,
    .bottom-actions {
        display: none;
    }
}
