/* Hotel Booking System - New Booking Form Styles */

.hbs-booking-container {
    max-width: 900px;
    margin: 40px auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

/* Step Indicator */
.hbs-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    position: relative;
}

.hbs-steps::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    height: 2px;
    background: #e0e0e0;
    z-index: 0;
}

.hbs-step {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hbs-step-number {
    width: 40px;
    height: 40px;
    margin: 0 auto 10px;
    background: #f0f0f0;
    border: 2px solid #ddd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #666;
}

.hbs-step-active .hbs-step-number {
    background: #2c5f2d;
    border-color: #2c5f2d;
    color: white;
}

.hbs-step-label {
    font-size: 14px;
    color: #666;
    margin-top: 5px;
}

.hbs-step-active .hbs-step-label {
    color: #2c5f2d;
    font-weight: 600;
}

/* Step Content */
.hbs-step-content {
    display: none;
    animation: fadeIn 0.3s ease-in;
}

.hbs-step-content-active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.hbs-step-content h2 {
    font-size: 28px;
    margin-bottom: 30px;
    color: #333;
}

.hbs-step-content h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #333;
}

.hbs-step-content h4 {
    font-size: 16px;
    margin-bottom: 15px;
    color: #555;
}

/* Forms */
.hbs-search-form,
.hbs-guest-form,
.hbs-payment-form {
    background: #f9f9f9;
    padding: 25px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.hbs-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.hbs-form-row.full {
    grid-template-columns: 1fr;
}

.hbs-form-group {
    display: flex;
    flex-direction: column;
}

.hbs-form-group label {
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
    font-size: 14px;
}

.hbs-form-group input,
.hbs-form-group select,
.hbs-form-group textarea {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.3s;
}

.hbs-form-group input:focus,
.hbs-form-group select:focus,
.hbs-form-group textarea:focus {
    outline: none;
    border-color: #2c5f2d;
    box-shadow: 0 0 0 3px rgba(44, 95, 45, 0.1);
}

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

/* Buttons */
.hbs-btn {
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.hbs-btn-primary {
    background: #2c5f2d;
    color: white;
}

.hbs-btn-primary:hover {
    background: #1e4620;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(44, 95, 45, 0.3);
}

.hbs-btn-secondary {
    background: #f0f0f0;
    color: #333;
    border: 1px solid #ddd;
}

.hbs-btn-secondary:hover {
    background: #e0e0e0;
}

.hbs-form-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    justify-content: flex-end;
}

/* Rooms Grid */
.hbs-rooms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

.hbs-room-card {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

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

.hbs-room-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.hbs-room-info {
    padding: 20px;
}

.hbs-room-name {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.hbs-room-price {
    font-size: 24px;
    font-weight: bold;
    color: #2c5f2d;
    margin-bottom: 10px;
}

.hbs-room-price-label {
    font-size: 12px;
    color: #999;
    font-weight: normal;
    display: block;
    margin-top: 5px;
}

.hbs-room-amenities {
    font-size: 13px;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.5;
}

.hbs-room-select-btn {
    width: 100%;
    padding: 10px;
    background: #2c5f2d;
    color: white;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.hbs-room-select-btn:hover {
    background: #1e4620;
}

/* Payment Summary */
.hbs-payment-summary {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    margin-bottom: 30px;
}

.hbs-payment-summary h3 {
    margin-bottom: 15px;
}

.hbs-summary-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #e0e0e0;
    font-size: 14px;
}

.hbs-summary-row:last-child {
    border-bottom: none;
}

.hbs-summary-total {
    font-size: 18px;
    font-weight: bold;
    color: #2c5f2d;
    padding-top: 15px;
    border-top: 2px solid #2c5f2d;
}

/* Payment Methods */
.hbs-payment-methods {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 25px;
}

.hbs-payment-method {
    display: flex;
    align-items: center;
    padding: 15px;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
}

.hbs-payment-method:hover {
    border-color: #2c5f2d;
    background: #f9f9f9;
}

.hbs-payment-method input {
    margin-right: 15px;
    cursor: pointer;
}

.hbs-payment-method-label {
    flex: 1;
}

.hbs-payment-method-label strong {
    display: block;
    margin-bottom: 5px;
    color: #333;
}

.hbs-payment-method-label small {
    color: #999;
    font-size: 12px;
}

/* Payment Details */
.hbs-payment-details {
    background: white;
    padding: 20px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    margin-bottom: 20px;
}

/* Confirmation */
.hbs-confirmation {
    text-align: center;
    padding: 40px 20px;
    background: #f9f9f9;
    border-radius: 8px;
}

.hbs-confirmation-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: #2c5f2d;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    font-weight: bold;
}

.hbs-confirmation h2 {
    color: #2c5f2d;
    margin-bottom: 10px;
}

.hbs-confirmation p {
    color: #666;
    margin-bottom: 30px;
}

.hbs-confirmation-details {
    background: white;
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 30px;
    text-align: left;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.hbs-confirmation-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #e0e0e0;
    font-size: 14px;
}

.hbs-confirmation-row:last-child {
    border-bottom: none;
}

.hbs-confirmation-row strong {
    color: #2c5f2d;
}

.hbs-confirmation-actions {
    margin-top: 30px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hbs-booking-container {
        padding: 15px;
    }

    .hbs-form-row {
        grid-template-columns: 1fr;
    }

    .hbs-rooms-grid {
        grid-template-columns: 1fr;
    }

    .hbs-form-actions {
        flex-direction: column;
    }

    .hbs-form-actions .hbs-btn {
        width: 100%;
    }

    .hbs-steps {
        margin-bottom: 30px;
    }

    .hbs-step-number {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }

    .hbs-step-label {
        font-size: 12px;
    }
}
