/* Mobile First Ansatz */
.manage-booking-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 15px;
}

.manage-booking-container h1 {
    color: #139ac8;
    text-align: center;
    margin-bottom: 20px;
    font-size: 24px;
    font-family: 'Scout', Arial, sans-serif;
}

.manage-booking-container h2 {
    color: #394f65;
    margin: 0 0 10px 0;
    font-size: 20px;
}

.manage-booking-container h3 {
    color: #394f65;
    font-size: 18px;
    margin: 0 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #ffbb10;
}

/* Nachrichten */
.message {
    padding: 15px 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.5;
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.error-message {
    background-color: #ffebee;
    color: #c62828;
    border-left: 4px solid #ef5350;
}

.success-message {
    background-color: #e8f5e9;
    color: #2e7d32;
    border-left: 4px solid #66bb6a;
}

/* Suchformular */
.search-form {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    border: 1px solid #e0e0e0;
}

.search-form p {
    margin-bottom: 20px;
    color: #666;
    font-size: 14px;
    line-height: 1.5;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #394f65;
    font-weight: 600;
    font-size: 14px;
}

.input-field {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    box-sizing: border-box;
    transition: all 0.3s ease;
    background-color: #fff;
    font-family: Arial, sans-serif;
}

.input-field:focus {
    outline: none;
    border-color: #139ac8;
    box-shadow: 0 0 0 3px rgba(19, 154, 200, 0.1);
}

.form-group small {
    display: block;
    margin-top: 6px;
    color: #999;
    font-size: 13px;
}

/* Buchungsdetails */
.booking-details {
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
}

/* Status Info Banner */
.status-info-banner {
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    border-radius: 12px;
    animation: slideIn 0.4s ease-out;
}

.status-info-banner .status-icon {
    font-size: 36px;
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
}

.status-info-banner .status-content h2 {
    margin: 0 0 5px 0;
    font-size: 20px;
}

.status-info-banner .status-content p {
    margin: 0;
    font-size: 14px;
    opacity: 0.95;
}

.status-processing {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    color: #0d47a1;
    border-left: 5px solid #1976d2;
}

.status-confirmed {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    color: #1b5e20;
    border-left: 5px solid #388e3c;
}

.status-cancelled {
    background: linear-gradient(135deg, #ffebee 0%, #ffcdd2 100%);
    color: #b71c1c;
    border-left: 5px solid #d32f2f;
}

/* Booking Info Section */
.booking-info-section {
    padding: 0 20px 20px;
}

/* Detail Cards */
.detail-card {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 18px;
    margin-bottom: 15px;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.detail-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-color: #139ac8;
}

.detail-row {
    display: flex;
    align-items: flex-start;
    padding: 10px 0;
    gap: 15px;
}

.detail-row:first-child {
    padding-top: 0;
}

.detail-row:last-child {
    padding-bottom: 0;
}

.detail-label {
    color: #6c757d;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    flex: 0 0 120px;
}

.detail-value {
    flex: 1;
    color: #394f65;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    line-height: 1.5;
}

.detail-value a {
    color: #e75603;
    text-decoration: none;
    transition: color 0.2s;
}

.detail-value a:hover {
    color: #c64502;
    text-decoration: underline;
}

.highlight-date {
    color: #139ac8;
    font-weight: 600;
    font-size: 16px;
}

.price-row {
    padding-top: 15px;
    margin-top: 10px;
    border-top: 2px solid #dee2e6;
}

.price-value {
    font-size: 22px;
    font-weight: bold;
    color: #28a745;
}

.comment-card {
    background: #fff9e6;
    border-color: #ffecb3;
}

.comment-content {
    color: #394f65;
    font-size: 14px;
    line-height: 1.6;
    margin-top: 10px;
    padding: 10px;
    background: #fff;
    border-radius: 6px;
    border-left: 3px solid #ffbb10;
}

/* SVG Icons */
.icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* Action Section */
.action-section {
    padding: 20px;
    background: #f8f9fa;
    border-radius: 0 0 12px 12px;
    margin-top: 20px;
}

.cancel-info {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.cancel-info .icon {
    color: #856404;
    margin-top: 2px;
}

.cancel-info p {
    margin: 0;
    color: #856404;
    font-size: 14px;
    line-height: 1.5;
}

.cancel-form {
    margin-bottom: 20px;
}

.info-box {
    background: #e7f3ff;
    border-left: 4px solid #139ac8;
    padding: 18px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.info-box .icon {
    color: #0c5f7f;
    flex-shrink: 0;
    margin-top: 2px;
}

.info-box p {
    margin: 0 0 8px 0;
    color: #0c5f7f;
    font-size: 14px;
    line-height: 1.6;
}

.info-box p:last-child {
    margin-bottom: 0;
}

.info-box strong {
    font-weight: 700;
}

/* Buttons */
.button-group {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.btn {
    padding: 14px 24px;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    font-family: Arial, sans-serif;
    flex: 1;
    justify-content: center;
    min-width: 140px;
}

.btn .icon {
    width: 18px;
    height: 18px;
}

.btn-primary {
    background-color: #139ac8;
    color: white;
    box-shadow: 0 2px 4px rgba(19, 154, 200, 0.2);
}

.btn-primary:hover {
    background-color: #0f7ca0;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(19, 154, 200, 0.3);
}

.btn-cancel {
    background-color: #dc3545;
    color: white;
    box-shadow: 0 2px 4px rgba(220, 53, 69, 0.2);
    width: 100%;
}

.btn-cancel:hover {
    background-color: #c82333;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(220, 53, 69, 0.3);
}

.btn-secondary {
    background-color: #6c757d;
    color: white;
    box-shadow: 0 2px 4px rgba(108, 117, 125, 0.2);
}

.btn-secondary:hover {
    background-color: #5a6268;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(108, 117, 125, 0.3);
}

/* Responsive - Mobile First erweitert */
@media (max-width: 768px) {
    .manage-booking-container {
        padding: 10px;
    }

    .manage-booking-container h1 {
        font-size: 20px;
        margin-bottom: 15px;
    }

    .manage-booking-container h2 {
        font-size: 18px;
    }

    .manage-booking-container h3 {
        font-size: 16px;
        margin-bottom: 15px;
    }

    .search-form {
        padding: 15px;
    }

    .search-form p {
        font-size: 13px;
        margin-bottom: 15px;
    }

    .status-info-banner {
        padding: 15px;
        gap: 12px;
    }

    .status-info-banner .status-icon {
        font-size: 28px;
        width: 45px;
        height: 45px;
    }

    .status-info-banner .status-content h2 {
        font-size: 16px;
        margin-bottom: 3px;
    }

    .status-info-banner .status-content p {
        font-size: 13px;
    }

    .booking-info-section {
        padding: 0 10px 15px;
    }

    .detail-card {
        padding: 12px;
        margin-bottom: 12px;
    }

    .detail-row {
        flex-direction: column;
        gap: 4px;
        padding: 8px 0;
    }

    .detail-label {
        flex: none;
        font-size: 11px;
        margin-bottom: 2px;
    }

    .detail-value {
        font-size: 14px;
        gap: 6px;
    }

    .detail-value .icon {
        width: 16px;
        height: 16px;
    }

    .highlight-date {
        font-size: 14px;
    }

    .price-value {
        font-size: 18px;
    }

    .comment-content {
        font-size: 13px;
        padding: 8px;
    }

    .button-group {
        flex-direction: column;
        gap: 8px;
    }

    .btn {
        width: 100%;
        min-width: unset;
        padding: 12px 20px;
        font-size: 14px;
    }

    .btn .icon {
        width: 16px;
        height: 16px;
    }

    .action-section {
        padding: 12px;
        margin-top: 15px;
    }

    .cancel-info {
        padding: 12px;
        gap: 10px;
        margin-bottom: 12px;
    }

    .cancel-info .icon {
        width: 18px;
        height: 18px;
    }

    .cancel-info p {
        font-size: 13px;
    }

    .info-box {
        padding: 12px;
        gap: 10px;
        margin-bottom: 15px;
    }

    .info-box .icon {
        width: 18px;
        height: 18px;
    }

    .info-box p {
        font-size: 13px;
    }

    .message {
        padding: 12px 15px;
        font-size: 13px;
        margin-bottom: 15px;
    }
}

/* Extra kleine Mobilgeräte */
@media (max-width: 480px) {
    .manage-booking-container {
        padding: 8px;
    }

    .manage-booking-container h1 {
        font-size: 18px;
        margin-bottom: 12px;
    }

    .search-form {
        padding: 12px;
    }

    .status-info-banner {
        padding: 12px;
        gap: 10px;
    }

    .status-info-banner .status-icon {
        font-size: 24px;
        width: 40px;
        height: 40px;
    }

    .status-info-banner .status-content h2 {
        font-size: 15px;
    }

    .status-info-banner .status-content p {
        font-size: 12px;
    }

    .detail-card {
        padding: 10px;
        margin-bottom: 10px;
    }

    .detail-row {
        padding: 6px 0;
    }

    .detail-label {
        font-size: 10px;
    }

    .detail-value {
        font-size: 13px;
    }

    .price-value {
        font-size: 16px;
    }

    .btn {
        padding: 10px 16px;
        font-size: 13px;
    }

    .form-group label {
        font-size: 13px;
    }

    .input-field {
        padding: 12px 14px;
        font-size: 15px;
    }
}

/* Tablet */
@media (min-width: 769px) and (max-width: 1024px) {
    .manage-booking-container {
        padding: 20px;
    }

    .detail-label {
        flex: 0 0 140px;
    }
}

/* Desktop */
@media (min-width: 1025px) {
    .manage-booking-container {
        margin: 30px auto;
        padding: 30px;
    }

    .manage-booking-container h1 {
        font-size: 32px;
        margin-bottom: 30px;
    }

    .search-form {
        padding: 35px;
    }

    .booking-info-section {
        padding: 0 30px 30px;
    }

    .status-info-banner {
        padding: 25px;
    }

    .button-group {
        justify-content: flex-start;
    }

    .btn {
        flex: 0 1 auto;
    }
}
