/* Field Section (For the Product Card Display) */
.field-section {
    display: none; /* Hidden by default */
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.6); /* Slight dark overlay for focus */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000; /* Ensure it appears on top */
    transition: opacity 0.3s ease-in-out; /* Smooth fade-in effect */
}

.product-card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 90%; /* Responsive width */
    max-width: 400px; /* Set a maximum width for large screens */
    transition: transform 0.3s ease-out; /* Smooth animation when showing */
}

/* Title Style for Product Card */
.product-card h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: #333; /* Dark text for contrast */
}

.product-card h1 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: #444;
}

.product-card p {
    font-size: 1rem;
    margin-bottom: 20px;
    color: #666;
}

/* Style for Button */
.product-card button {
    padding: 10px 20px;
    background-color: #4CAF50; /* Green button */
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.2s ease;
}

.product-card button:hover {
    background-color: #45a049; /* Darker green on hover */
}

/* Button for going back */
#go-back {
    background-color: #f44336; /* Red button for 'Back to Booking' */
    margin-top: 20px;
}

#go-back:hover {
    background-color: #e53935; /* Darker red on hover */
}

/* Hidden Class to Control Visibility */
.hidden {
    display: none;
}

/* Main Content Adjustments */
#main {
    transition: opacity 0.3s ease-in-out; /* Smooth fade-out effect when switching */
}

#field.show {
    display: flex; /* When showing the field, display it as flex */
    opacity: 1; /* Ensure it's visible */
}

