/* Moderne Reservierungssuche Styles */

/* Search Section */
.reservation-search-section {
    background: rgba(169, 169, 169, 0.3); /* Gleicher Hintergrund wie Tabelle */
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    border: 1px solid #ccc;
}

.search-input-group {
    position: relative;
    margin-bottom: 0;
}

.search-input {
    width: 100%;
    padding: 12px 20px 12px 48px;
    border: 2px solid #e9ecef;
    border-radius: 50px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: white;
}

.search-input:focus {
    outline: none;
    border-color: #4285f4;
    box-shadow: 0 0 0 3px rgba(66, 133, 244, 0.1);
}

.search-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
    font-size: 18px;
}

.clear-search {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #6c757d;
    cursor: pointer;
    font-size: 18px;
    padding: 8px;
    display: none;
}

.search-input:not(:placeholder-shown) ~ .clear-search {
    display: block;
}

/* Card View Styles */
.card-view-container {
    margin-top: 20px;
}

.reservation-card {
    background: rgba(169, 169, 169, 0.3); /* Gleicher Hintergrund wie Tabelle */
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 20px;
    transition: all 0.2s ease;
}

.reservation-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.customer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 2px solid #f8f9fa;
}

.customer-name {
    font-size: 20px;
    font-weight: 600;
    color: #212529;
    margin: 0;
    display: flex;
    align-items: center;
}

.customer-name i {
    margin-right: 10px;
    color: #6c757d;
}

.product-count {
    background: #e9ecef;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
    color: #495057;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 16px;
}

.product-item {
    background: rgba(255, 255, 255, 0.5); /* Leicht transparent weiß für bessere Lesbarkeit */
    border-radius: 6px;
    padding: 16px;
    transition: background 0.2s ease;
    border: 1px solid rgba(204, 204, 204, 0.5);
}

.product-item:hover {
    background: rgba(255, 255, 255, 0.7);
}

.product-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.product-thumbnail {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
}

.product-details {
    flex: 1;
}

.product-type {
    font-weight: 500;
    color: #212529;
    margin: 0 0 4px 0;
}

.product-dimensions {
    color: #6c757d;
    font-size: 14px;
    margin: 0;
}

.action-buttons {
    display: flex;
    gap: 8px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #e9ecef;
}

.btn-modern {
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    text-decoration: none;
    border: 1px solid transparent;
}

.btn-view-all {
    background: #007bff;
    color: white;
    border: 1px solid #0056b3;
}

.btn-view-all:hover {
    background: #0056b3;
    color: white;
    text-decoration: none;
}

.btn-edit-all {
    background: #ffc107;
    color: #212529;
    border: 1px solid #d39e00;
}

.btn-edit-all:hover {
    background: #e0a800;
    color: #212529;
    text-decoration: none;
}

.btn-release-all {
    background: #dc3545;
    color: white;
    border: 1px solid #bd2130;
}

.btn-release-all:hover {
    background: #c82333;
    color: white;
    text-decoration: none;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #6c757d;
}

.empty-state i {
    font-size: 48px;
    margin-bottom: 16px;
    color: #dee2e6;
}


/* Responsive adjustments */
@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .customer-header {
        flex-direction: column;
        align-items: start;
        gap: 10px;
    }
    
    .action-buttons {
        flex-wrap: wrap;
    }
    
    .stats-section {
        flex-direction: column;
    }
}
