body {
  font-family: Arial, Helvetica, sans-serif;
}

.general_content {
  max-width: 600px;
  margin: auto;
  padding: 20px;
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
  background-color: #ffffff;
}

.left-align-container {
  text-align: left;
  padding: 10px;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  box-sizing: border-box;
  background-color: #f9f9f9;
  color: #333;
}

.center-align-container {
  text-align: center;
  padding: 10px;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  box-sizing: border-box;
  background-color: #f9f9f9;
  color: #333;
}

.responsive-input {
  width: 100%;
  max-width: 100%;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  font-size: 16px;
}

.gray_textarea {
  width: 100%;
  max-width: 100%;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  font-size: 14px;
  background-color: #f9f9f9;
}

textarea {
  width: 200px;
  height: auto;
  min-height: 66px;
}

@media screen and (max-width: 600px) {
  table, thead, tbody, th, td, tr {
    display: block;
  }
  thead tr {
    position: absolute;
    top: -9999px;
    left: -9999px;
  }
  tr {
    border: 1px solid #ccc;
  }
  td {
    border: none;
    border-bottom: 1px solid #eee;
    position: relative;
    padding-left: 50%;
  }
  td:before {
    position: absolute;
    top: 6px;
    left: 6px;
    width: 45%;
    padding-right: 10px;
    white-space: nowrap;
    content: attr(data-label);
  }
}

/* .clear-btn {
  cursor: pointer;
  padding: 5px 10px;
  font-size: 12px;
  border: 1px solid #ccc;
  background-color: #f9f9f9;
  color: #333;
  border-radius: 5px;
  outline: none;
}

.clear-btn:hover {
  background-color: #e8e8e8;
} */

.clear-btn:active {
  background-color: #ddd;
}

.container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.align-center {
  align-self: center;
}

#buttonContainer {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 5px 0;
  background-color: #f8f9fa;
  z-index: 1000;
}

#buttonContainer button {
  margin: 0 5px;
}

button {
  background-color: #e0e0e0;
  color: black;
  border: 1px solid #bbb;
  padding: 3px 10px;
  margin: 0 10px;
  cursor: pointer;
  font-size: 14px;
  transition: background-color 1s, border 1s, color 1s;
}

/* button:active {
  background-color: #0056b3;
  color: white;
  border-color: #004080;
  border-width: 3px;
  padding: 2px 9px;
}
 */

.large-checkbox {
  width: 20px;
  height: 20px;
}

.container, .row {
  width: 100%;
  padding: 0 5px;
  box-sizing: border-box;
}

.large-checkbox {
  margin-right: 10px;
}

.clear-btn, .large-checkbox {
  flex: 0 0 auto;
}

.prompt-row {
  display: flex;
  align-items: center;
  justify-content: center;  /* Add this line */
  gap: 10px;
}

.checkbox, .delete-prompt {
}

textarea {
  flex-grow: 1;
  width: auto;
  min-width: 250px;
  max-width: 600px;
  height: auto;
  min-height: 66px;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}

@media screen and (min-width: 601px) {
  .prompt-row textarea {
    max-width: 600px;
    width: 600px;
  }

  table.custom-table {
    border: 1px solid black;
  }
  table.custom-table th, table.custom-table td {
    border: 1px solid black;
  }
}

.full-width-background {
  width: 100%;
  background-color: #D5D8DC;
  padding: 10px 0;
  box-sizing: border-box;
}

#textarea_clipboard {
  width: calc(100% - 20px);
  height: 132px;
  padding: 10px;
  border: 2px solid #4A90E2;
  border-radius: 4px;
  font-size: 1em;
  box-shadow: none;
  box-sizing: border-box;
  background-color: #E3F3F3;
  resize: none;
}

#textarea_clipboard:focus {
  border-color: #76baff;
  outline: none;
}


.content-enhanced-chat {
  display: block;
  width: 100%;
  text-align: center;
  margin: 0;
  padding: 5px 0;
  color: white;
}

.saveButton, .copyButton {
  padding: 5px 15px;
  margin: 0 10px;
  background-color: #007bff;
  color: white;
  border: none;
  cursor: pointer;
  font-size: 16px;
}










#searchPopup {
  position: fixed;
  top: 20%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 100;
  background-color: white;
  padding: 20px;
  border: 2px solid #000;
  box-shadow: 0px 0px 10px #000;
}

.button {
  background-color: #04AA6D;
  border: none;
  color: white;
  padding: 16px 8px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 4px 2px;
  transition-duration: 0.4s;
  cursor: pointer;
  width: 300px;
  box-sizing: border-box;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.button1 {
  background-color: white;
  color: black;
  border: 2px solid #04AA6D;
}

.button1:hover {
  background-color: #04AA6D;
  color: white;
}

.form_container {
  max-width: 400px;
  margin: 50px auto;
  padding: 20px;
  border: 1px solid #ccc;
  border-radius: 5px;
  background: #f9f9f9;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  text-align: center;
}

label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

input[type="email"], textarea {
  width: 100%;
  padding: 8px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}

.feedback-button {
  width: 100%;
  padding: 10px;
  background-color: #4CAF50;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
  margin: 4px 2px;
  box-sizing: border-box;
  transition-duration: 0.4s;
}

.feedback-button:hover {
  background-color: #45a049;
}

.input_group {
  margin-bottom: 20px;
}

input[type="text"], input[type="password"] {
  width: 100%;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}

.polaroid {
  background-color: white;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
  margin: 20px auto;
  border: 10px solid #fff;
  border-bottom: 40px solid #fff;
  text-align: center;
}

.polaroid img {
  width: 100%;
}

.container_polaroid {
  text-align: left;
  padding: 10px 20px;
}

@media screen and (min-width: 601px) {
  .polaroid {
    width: 600px;
  }
}

@media screen and (max-width: 600px) {
  .polaroid {
    width: 300px;
  }
}

.polaroid-background-image {
  background-image: url('./images/art_square1.png');
  background-size: cover;
  background-position: center;
}

.help-text {
  display: none;
  margin-top: 5px;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background-color: #f9f9f9;
  color: #333;
  font-size: 14px;
}

.help-btn {
  background-color: #007bff;
  color: white;
  border: none;
  padding: 2px 6px;
  margin-left: 5px;
  cursor: pointer;
  border-radius: 4px;
  font-size: 14px;
}

.help-btn:hover {
  background-color: #0056b3;
}

table.custom-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 16px;
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.1);
}

table.custom-table th, table.custom-table td {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid #ddd;
}

table.custom-table th {
  background-color: #f2f2f2;
  color: #333;
  font-weight: bold;
}

table.custom-table tr:nth-child(even) {
  background-color: #f9f9f9;
}

table.custom-table tr:hover {
  background-color: #f1f1f1;
}

@media screen and (max-width: 600px) {
  table.custom-table, table.custom-table thead, table.custom-table tbody, table.custom-table th, table.custom-table td, table.custom-table tr {
    display: block;
  }
  table.custom-table thead tr {
    position: absolute;
    top: -9999px;
    left: -9999px;
  }
  table.custom-table tr {
    border: 1px solid #ccc;
    margin-bottom: 10px;
  }
  table.custom-table td {
    border: none;
    border-bottom: 1px solid #eee;
    position: relative;
    padding-left: 50%;
    text-align: right;
  }
  table.custom-table td:before {
    position: absolute;
    top: 6px;
    left: 6px;
    width: 45%;
    padding-right: 10px;
    white-space: nowrap;
    content: attr(data-label);
    text-align: left;
    font-weight: bold;
  }
}

.footer {
  text-align: center;
  background-color: #fff;
  color: black;
  padding: 10px 0;
  width: 100%;
  box-sizing: border-box;
}








.data-display dl {
    display: flex;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
}

.data-display dt {
    flex-basis: 30%;
    font-weight: bold;
}

.data-display dd {
    flex-basis: 70%;
    margin: 0;
    padding: 0 0 10px 0;
}

.data-display dt, .data-display dd {
    margin-bottom: 10px;
}




/* Style for all responsive dropdowns */
select.responsive-select {
  width: 100%; /* Make it full width */
  max-width: 100%; /* Ensure it doesn't exceed the container's width */
  padding: 8px; /* Add padding for better look */
  border: 1px solid #ccc; /* Add border to match input fields */
  border-radius: 4px; /* Add border radius for consistent look */
  box-sizing: border-box; /* Ensure padding doesn't affect total width */
  font-size: 16px; /* Adjust font size */
  background-color: #fff; /* Match background color with the rest */
}










        .exceed-limit {
            background-color: red !important;
            color: white !important;
        }
        




/* Home page mock table for showing steps in process */
.steps-container {
    display: flex;
    flex-wrap: nowrap; /* Ensure items are on a single row */
    justify-content: space-between;
    align-items: flex-start; /* Align items at the start */
    gap: 10px; /* Add some spacing between steps */
}

.step {
    flex: 1 1 22%; /* Adjust the percentage to fit your layout needs */
    margin: 10px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.step img {
    width: 100%;
    height: auto;
    max-height: 200px; /* Adjust as needed */
    margin-bottom: 10px; /* Add some space below the image */
}

.step p {
    margin: 0; /* Ensure no additional margin is added */
    padding-top: 10px; /* Space between image and text */
}

@media (max-width: 768px) {
    .steps-container {
        flex-wrap: wrap; /* Allow wrapping on smaller screens */
    }

    .step {
        flex: 1 1 45%;
    }
}

@media (max-width: 480px) {
    .step {
        flex: 1 1 100%;
    }
}






    /* General flex-row styling */
    .flex-row {
      position: relative; /* This ensures children can be positioned relative to this container */
      display: flex;
      justify-content: center;
      align-items: center;
    }

    /* Styling for the text and image containers */
    .col-text, .col-image {
      padding: 10px;
      flex-basis: 100%; /* Default to full width */
    }

    /* Large screen - side by side layout */
    @media (min-width: 768px) {
      .col-text {
        flex-basis: 33.33%; /* Text column takes 1/3 width */
      }
      .col-image {
        flex-basis: 66.66%; /* Image column takes 2/3 width */
        position: relative; /* Ensure this is relative to position text over it */
        display: inline-block;
      }
    }

    img {
      max-width: 100%;
      height: auto;
    }


/* Overlay text with wider width */
.overlay-text {
  position: absolute; /* Position the text absolutely over the image */
  top: 50%; /* Center vertically */
  left: 50%; /* Center horizontally */
  transform: translate(-50%, -50%); /* Adjust the text to be perfectly centered */
  color: white; /* Change the text color for visibility */
  font-size: 18px;
  background-color: rgba(0, 0, 0, 0.3); /* Optional: Adds a semi-transparent background for better visibility */
  padding: 10px;
  border-radius: 5px;
  text-align: center;
  width: 80%; /* Make the text container 80% of the image width */
  max-width: 600px; /* Set a max-width to prevent it from becoming too wide */
}




    /* Example background colors to match your description */
    .blue-bg {
      background-color: #dceefb;
    }

    .green-bg {
      background-color: #eaf4d7;
    }
    
    
    
    
    
    
    
/* For table-ish formatting of     my_chat_package_groups.cx */
.row-container {
    display: flex;
    align-items: center;
    gap: 10px; /* Space between items */
    padding: 5px;
}

.row-container input[type="checkbox"] {
    margin: 0;
}

.row-container button {
    flex-shrink: 0; /* Prevents buttons from shrinking on smaller screens */
}


/* my_prompts.cx buttons */
.prompt-action-btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: 6px; /* Slightly less gap */
    justify-content: center;
    background-color: #1e1e1e;
    padding: 8px;
    border-radius: 8px;
}

.prompt-action-btn {
    background-color: #333;
    color: #e0e0e0;
    border: 1px solid #444;
    padding: 4px 10px;  /* Further reduced height */
    border-radius: 6px;
    cursor: pointer;
    font-size: 12px;  /* Slightly smaller text */
    transition: all 0.3s ease;
    min-width: 100px; /* Keeps buttons uniform */
}

.prompt-action-btn:hover {
    background-color: #444;
    border-color: #5a5a5a;
}

@media (max-width: 600px) {
    .prompt-action-btn-group {
        flex-direction: column;
        align-items: center;
    }

    .prompt-action-btn {
        width: 90%;
        max-width: 260px; /* Reduced width slightly */
        text-align: center;
    }
}


.prompt-action-btn:hover {
    box-shadow: 0px 0px 5px rgba(100, 255, 100, 0.5);
}






/* Style for Save Button */
.save-btn {
    background-color: #82E0AA; /* Green background 82E0AA 4CAF50*/
    color: black;
    border: 1px solid #3a7d44;
    padding: 4px 10px;  /* Keep same height */
    border-radius: 6px;
    cursor: pointer;
    font-size: 12px;  
    transition: all 0.3s ease;
    min-width: 100px;
}

/* Hover Effect */
.save-btn:hover {
    background-color: #3e8e41; /* Darker green */
    border-color: #2d6233;
    box-shadow: 0px 0px 5px rgba(0, 255, 0, 0.5); /* Green glow */
}
