/* General container for the chatbot */
.chat-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    background-color: #f0f2f5;
    z-index: 1; /* Lower z-index to ensure modal appears above */
}

/* Chat Header styles */
.chat-header1 {
    background-color: #ccc;
    padding: 10px;
    text-align: center;
    color: white;
    font-size: 20px;
    font-weight: bold;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Chat box styles */
.chat-box {
    flex: 1; /* Makes it take up the available space */
    overflow-y: auto; /* Allow scrolling if the content overflows */
    padding: 20px;
    background-color: #fff;
    margin-bottom: 80px; /* Leave space for input-container */
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

/* Styling for chat messages */
.message-container {
    margin-bottom: 10px;
}

.message-bubble {
    max-width: 70%;
    padding: 10px;
    margin-bottom: 8px;
    border-radius: 12px;
    word-wrap: break-word;
    box-sizing: border-box;
    font-size: 16px;
    line-height: 1.4;
}

.message-bubble.user {
    background-color: #dcf8c6;
    align-self: flex-start;
    color: #333;
}

.message-bubble.bot {
    background-color: #f1f1f1;
    align-self: flex-end;
    color: #333;
}

/* Quick reply buttons for drink/flavour selection */
.quick-replies {
    margin-top: 8px;
    display: flex;
    flex-wrap: wrap;
}

.quick-replies button {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 8px 16px;
    margin: 4px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s;
}

.quick-replies button:hover {
    background-color: #0056b3;
}

.quick-replies button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

/* Input area at the bottom */
.input-container {
    display: flex;
    padding: 10px 20px;
    background-color: #ffffff;
    border-top: 1px solid #ddd;
    position: sticky;
    bottom: 0;
    z-index: 10;
    align-items: center;
    box-sizing: border-box;
    width: 100%;
}

.input-container input {
    flex: 1;
    padding: 10px;
    font-size: 16px;
    border-radius: 25px;
    border: 1px solid #ccc;
    margin-right: 10px;
    outline: none;
    transition: border-color 0.3s;
}

.input-container input:focus {
    border-color: #007bff;
}

.input-container button {
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}

.input-container button:hover {
    background-color: #0056b3;
}

.input-container button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}


/* Adjustments for responsiveness */
@media (max-width: 768px) {
    .chat-container {
        width: 100%;
        height: 100%;
    }

    .message-bubble {
        max-width: 90%;
    }

    .quick-replies button {
        font-size: 12px;
        padding: 6px 12px;
    }

    .input-container input {
        font-size: 14px;
    }

    .input-container button {
        font-size: 14px;
    }
}


/* ViewOrder.css */

.view-order-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    background-color: #f7f7f7;
    height: 100vh;
    font-family: Arial, sans-serif;
}

.view-order-header {
    margin-bottom: 20px;
    text-align: center;
}

/* ReOrder button */
.quick-replies {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.quick-replies button {
    padding: 10px;
    background-color: #007bff;
    color: white;
    border: none;
    cursor: pointer;
}

.quick-replies button:hover {
    background-color: #0056b3;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    padding: 10px 20px;
    background-color: #417690;
    color: #fff;
}

.navbar-left {
    font-size: 1.5rem;
    padding-left: 1.5rem;
}

.navbar-right {
    padding-right: 1.5rem;
}

.navbar-right button {
    background-color: #e74c3c;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
}

.navbar-right button:hover {
    background-color: #c0392b;
}

.view-order-header h2 {
    color: #333;
    font-size: 24px;
    font-weight: bold;
}

.order-details {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    width: 100%;
    max-width: 40%;
}

.order-details p {
    font-size: 16px;
    margin-bottom: 12px;
}

.order-details strong {
    color: #333;
}

.order-actions {
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 400px;
}

.order-action-btn {
    padding: 12px 24px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    border: none;
    border-radius: 25px;
    transition: background-color 0.3s ease;
    width: 48%; /* Make buttons half width */
}




/* Add the following CSS to your ViewOrder.css */

.view-order-container {
    padding: 20px;
    font-family: Arial, sans-serif;
}

.view-order-header h2 {
    text-align: center;
}

.user-details, .order-details {
    margin-top: 20px;
}

.user-details h3, .order-details h3 {
    font-size: 1.2em;
    margin-bottom: 10px;
}

.user-details p, .order-details p {
    font-size: 1em;
    margin: 5px 0;
}

.order-actions {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.order-action-btn {
    padding: 10px 20px;
    margin: 0 10px;
    font-size: 1em;
    cursor: pointer;
}

.confirm-btn {
    background-color: green;
    color: white;
    border: none;
}

.cancel-btn {
    background-color: red;
    color: white;
    border: none;
}

.confirm-btn:hover {
    background-color: darkgreen;
}

.cancel-btn:hover {
    background-color: darkred;
}


/* Responsive Styles */
@media (max-width: 768px) {
    .view-order-container {
        padding: 15px;
    }

    .order-details {
        width: 100%;
        padding: 15px;
    }

    .order-actions {
        flex-direction: column;
        align-items: center;
    }

    .order-action-btn {
        width: 100%;
        margin-bottom: 10px;
    }
}


/* UserProfile.css */

/* General container styling */
.user-profile-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Title styling */
h2 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 20px;
    text-align: center;
}

/* Form styling */
form {
    display: flex;
    flex-direction: column;
}

/* Input styling */
input[type="text"],
input[type="email"] {
    padding: 10px;
    margin: 10px 0;
    border-radius: 4px;
    border: 1px solid #ccc;
    font-size: 1rem;
}

/* Checkbox styling */
label {
    font-size: 1rem;
    color: #555;
    margin-bottom: 10px;
}

input[type="checkbox"] {
    margin-right: 10px;
}

/* Button styling */
button {
    background-color: #007bff;
    color: white;
    padding: 10px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #0056b3;
}

button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

/* Styling for drink options */
.drinks-list {
    display: flex;
    flex-direction: column;
}

/* Spacing between sections */
form div {
    margin-bottom: 20px;
}



  

  .order-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
  }
  
  .order-table th,
  .order-table td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid #ddd;
  }
  
  .order-table th {
    background-color: #f4f4f4;
  }
  
  .remove-btn {
    background-color: red;
    color: white;
    padding: 5px 10px;
    border: none;
    cursor: pointer;
  }
  
  .remove-btn:hover {
    background-color: darkred;
  }
  

  /* amount to pay css */
  .payment-summary {
    background-color: #f8f9fa; /* Light background */
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    width: 100%;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .summary-title {
    font-size: 18px;
    color: #333;
  }
  
  .summary-amount {
    font-size: 22px;
    font-weight: bold;
    color: #ff6f61; /* A warm color for the amount */
  }
  
  .amount {
    font-size: 24px;
    color: #2d2d2d;
    font-weight: bold;
  }
  

  /* Main container for centering the content */
.payment-success-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #f5f5f5;
    padding: 20px;
}

/* Payment success box styling */
.payment-success {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
    padding: 20px;
    text-align: center;
}

/* Title of the Payment Status section */
.payment-status-title {
    font-size: 24px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 15px;
}

/* Message indicating the payment status (success or failure) */
.payment-status-message {
    font-size: 18px;
    font-weight: 500;
    color: #27ae60; /* Green color for success */
    margin-bottom: 20px;
}

/* Order details text */
.order-details {
    font-size: 16px;
    color: #34495e;
    margin-bottom: 20px;
}

/* Button container to center the back button */
.button-container {
    margin-top: 20px;
}

/* Back button styling */
.back-button {
    background-color: #3498db;
    color: #fff;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.back-button:hover {
    background-color: #2980b9;
}

/* Optional: Add a class to show payment status in green or red based on the payment state */
.payment-status {
    font-size: 18px;
    font-weight: 500;
    color: #e74c3c; /* Red color if something went wrong */
    margin-top: 20px;
}
