.alert {
  position: relative;
  padding: 0.75rem 1.25rem;
  margin-bottom: 1rem;
  border: 1px solid transparent;
  border-radius: 0.25rem;
}

.alert-heading {
  color: inherit;
}

.alert-link {
  font-weight: 700;
}

.alert-dismissible {
  padding-right: 4rem;
}

.alert-dismissible .close {
  position: absolute;
  top: 0;
  right: 0;
  padding: 0.75rem 1.25rem;
  color: inherit;
}

.alert-primary {
  color: #004085;
  background-color: #cce5ff;
  border-color: #b8daff;
}

.alert-primary hr {
  border-top-color: #9fcdff;
}

.alert-primary .alert-link {
  color: #002752;
}

.alert-secondary {
  color: #383d41;
  background-color: #e2e3e5;
  border-color: #d6d8db;
}

.alert-secondary hr {
  border-top-color: #c8cbcf;
}

.alert-secondary .alert-link {
  color: #202326;
}

.alert-success {
  color: #155724;
  background-color: #d4edda;
  border-color: #c3e6cb;
}

.alert-success hr {
  border-top-color: #b1dfbb;
}

.alert-success .alert-link {
  color: #0b2e13;
}

.alert-info {
  color: #0c5460;
  background-color: #d1ecf1;
  border-color: #bee5eb;
}

.alert-info hr {
  border-top-color: #abdde5;
}

.alert-info .alert-link {
  color: #062c33;
}

.alert-warning {
  color: #856404;
  background-color: #fff3cd;
  border-color: #ffeeba;
}

.alert-warning hr {
  border-top-color: #ffe8a1;
}

.alert-warning .alert-link {
  color: #533f03;
}

.alert-danger {
  color: #721c24;
  background-color: #f8d7da;
  border-color: #f5c6cb;
}

.alert-danger hr {
  border-top-color: #f1b0b7;
}

.alert-danger .alert-link {
  color: #491217;
}

.alert-light {
  color: #818182;
  background-color: #fefefe;
  border-color: #fdfdfe;
}

.alert-light hr {
  border-top-color: #ececf6;
}

.alert-light .alert-link {
  color: #686868;
}

.alert-dark {
  color: #1b1e21;
  background-color: #d6d8d9;
  border-color: #c6c8ca;
}

.alert-dark hr {
  border-top-color: #b9bbbe;
}

.alert-dark .alert-link {
  color: #040505;
}
.processingimg {
	width: 50px;
    height: 50px;
    object-fit: contain; /* Ensures image scales correctly without distortion */
}

.profile-pic {
	width: 60px;     /* Set your desired size */
	height: 60px;
	object-fit: cover; /* Ensures the image covers the area without distortion */
	border-radius: 50%; /* Makes it circular */
	border: 2px solid #000; /* Dark border line */
	box-shadow: 0 4px 8px rgba(0,0,0,0.3); /* Dith/dark shadow effect */
}




/* Container for layout */
.container {
  width: 100%;
  max-width: 1200px;
  margin: auto;
}

/* Celeb section full width */
.celeb {
  width: 100%;
  background: #fff;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  margin-bottom: 40px;
}

/* Row flex layout */
.row {
  display: flex;
  flex-wrap: wrap;
}

/* Left side styles */
.left-side {
  width: 33.3333%; /* col-4 in a 12-column grid */
  padding: 10px;
  text-align: center;
}

.profile-picture img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #ddd;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.name {
  margin-top: 12px;
  font-size: 22px;
  font-weight: bold;
  color: #222;
}

.talent {
  font-size: 14px;
  color: #555;
  margin-top: 6px;
}

.controls {
  margin-top: 15px;
}

.controls button {
  background-color: #009879;
  color: white;
  border: none;
  padding: 8px 14px;
  margin: 5px;
  border-radius: 25px;
  cursor: pointer;
  font-size: 14px;
  transition: background-color 0.3s;
}
.controls button:hover {
  background-color: #007f67;
}

/* Right side styles for table */
.right-side {
  width: 66.6667%; /* col-8 in a 12-column grid */
  padding: 10px;
}

/* Stylish table */
.info-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  font-family: 'Arial', sans-serif;
  background-color: #fff;
}

.info-table thead {
  background-color: #009879;
  color: #fff;
}

.info-table th,
.info-table td {
  padding: 12px 15px;
  font-size: 14px;
  border-bottom: 1px solid #ddd;
}

.info-table th {
  text-align: left;
  width: 40%;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.info-table td {
  text-align: left;
  background-color: #f9f9f9;
}

/* Hover effect on table rows */
.info-table tbody tr:hover {
  background-color: #f1f1f1;
}

/* Track history section styles */
.trackhistory {
  margin-top: 50px;
  font-family: 'Arial', sans-serif;
}

/* Chat container styles */
.chat-container {
  max-width: 900px;
  margin: auto;
  display: flex;
  flex-direction: column;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  background: #fff;
  height: 600px;
  display: flex;
  flex-direction: column;
}

/* Messages area */
.messages {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
  background-color: #f0f0f0;
}

/* Individual message styles */
.message {
  margin-bottom: 15px;
  max-width: 70%;
  padding: 10px 15px;
  border-radius: 20px;
  position: relative;
  font-size: 14px;
  line-height: 1.4;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  word-wrap: break-word;
}

.message.sent {
  align-self: flex-end;
  background-color: #DCF8C6;
  border-bottom-right-radius: 0;
}

.message.received {
  align-self: flex-start;
  background-color: #ffffff;
  border-bottom-left-radius: 0;
  margin-left: auto; /* Pushes the message to the right */
}

.message .datetime {
  font-size: 10px;
  color: #888;
  margin-top: 4px;
  text-align: right;
}

.datetime {
  display: flex;
  align-items: center;
  font-size: 12px; /* main font size */
  color: #999; /* optional */
}

.status-container {
  display: flex;
  align-items: center;
  margin-left: 8px;
}

.status-mark {
  font-size: 12px;
  margin-right: 4px;
  color: #999; /* optional */
}

.status-label {
  font-size: 8px; /* very small for subscript effect */
  color: #999; /* optional */
  font-weight: normal;
}
/* Chat input area */
.chat-input-area {
  display: flex;
  padding: 15px 10px;
  border-top: 1px solid #ddd;
  background: #fff;
  align-items: center;
}

#chatForm {
  display: flex;
  align-items: center;
  width: 100%;
}

/* Message input */
#message {
  flex: 1;
  padding: 12px 20px;
  border-radius: 25px;
  border: 1px solid #ccc;
  outline: none;
  font-size: 14px;
  transition: border-color 0.3s;
}

#message:focus {
  border-color: #009879;
}

/* File attachment label */
#attachment {
  display: none;
}

#attachment-label {
  margin-right: 10px;
  cursor: pointer;
  font-size: 20px;
  color: #555;
  padding: 8px;
  border-radius: 50%;
  background-color: #f0f0f0;
  transition: background-color 0.3s;
}

#attachment-label:hover {
  background-color: #ddd;
}

#imagePreview {
  max-width: 40px;
  max-height: 40px;
  width: 40px;
  height: 40px;
  display: none;
  margin-right: 10px;
  object-fit: cover; /* Optional: maintains aspect ratio */
}

#pdfPreview {
  width: 40px;
  height: 40px;
  display: none;
  object-fit: contain; /* Optional: fits PDF in the box */
}


/* Send button styles */
button {
  background-color: #009879;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 25px;
  cursor: pointer;
  font-size: 14px;
  transition: background-color 0.3s, transform 0.2s;
}

button:hover {
  background-color: #007f67;
  transform: scale(1.05);
}

/* Custom scrollbar for chat messages */
.messages::-webkit-scrollbar {
  width: 6px;
}

.messages::-webkit-scrollbar-thumb {
  background-color: rgba(0,0,0,0.2);
  border-radius: 3px;
}


/* Base Button Styles */
.special-btn {
  padding: 12px 24px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: inline-block;
  margin: 10px;
}

/* Primary Button */
.special-btn.btn-primary {
  background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
  color: #fff;
}
.special-btn.btn-primary:hover {
  background: linear-gradient(135deg, #5a0fb8 0%, #1f5ecc 100%);
  box-shadow: 0 6px 20px rgba(90, 15, 184, 0.3);
}

/* Secondary Button */
.special-btn.btn-secondary {
  background: linear-gradient(135deg, #ff7e5f 0%, #feb47b 100%);
  color: #fff;
}
.special-btn.btn-secondary:hover {
  background: linear-gradient(135deg, #e66b4f 0%, #eeb67b 100%);
  box-shadow: 0 6px 20px rgba(230, 107, 79, 0.3);
}

/* Default Button */
.special-btn.btn-default {
  background-color: #e0e0e0;
  color: #333;
}
.special-btn.btn-default:hover {
  background-color: #d5d5d5;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Warning Button */
.special-btn.btn-warning {
  background-color: #ffcc00;
  color: #fff;
}
.special-btn.btn-warning:hover {
  background-color: #ffb300;
  box-shadow: 0 4px 12px rgba(255, 204, 0, 0.3);
}

/* Info Button */
.special-btn.btn-info {
  background: linear-gradient(135deg, #00c6ff 0%, #0072ff 100%);
  color: #fff;
}
.special-btn.btn-info:hover {
  background: linear-gradient(135deg, #009dff 0%, #0057ff 100%);
  box-shadow: 0 6px 20px rgba(0, 150, 255, 0.3);
}






.styled-textarea-container {
  width: 100%;
  max-width: 600px;
  margin: 20px auto;
  font-family: 'Arial', sans-serif;
}

.toolbar {
  display: flex;
  gap: 8px;
  padding: 10px;
  background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
  border-radius: 8px 8px 0 0;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  margin-bottom: -1px;
}

.format-btn {
  background-color: #fff;
  border: none;
  padding: 8px 12px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s;
}

.format-btn:hover {
  background-color: #f0f0f0;
}

.specialformatting {
  width: 100%;
  height: 150px;
  padding: 12px;
  border: 2px solid #ccc;
  border-radius: 0 0 8px 8px;
  font-family: 'Arial', sans-serif;
  font-size: 1rem;
  resize: vertical;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.1);
  transition: border-color 0.3s;
}

.specialformatting:focus {
  border-color: #2575fc;
  outline: none;
}


/* Style for the portals container */
.portals {
  display: flex;
  flex-wrap: wrap; /* allow buttons to wrap if needed */
  gap: 15px; /* spacing between buttons */
  padding: 20px;
  border-radius: 15px; /* curved edges */
  background: linear-gradient(135deg, #f0f4f8, #d9e2ec); /* light shining effect */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); /* subtle shadow for depth */
  border: 2px solid rgba(0, 0, 0, 0.1); /* optional border for style */
  max-width: fit-content; /* container size depends on content */
  margin: auto; /* center on page */
}

/* Common styles for all buttons */
.portals .btn {
  padding: 12px 25px;
  border-radius: 25px; /* very rounded edges */
  font-size: 14px;
  font-weight: bold;
  text-decoration: none;
  color: #fff;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  cursor: pointer;
  min-width: 180px;
  text-align: center;
  display: inline-block;
}

/* Specific styles for each button type */
.button-fancard {
  background-color: #6a0dad; /* purple */
}

.button-fancard:hover {
  background-color: #8a2be2; /* lighter purple */
  box-shadow: 0 6px 12px rgba(106, 13, 173, 0.2);
}

.button-ambassador {
  background-color: #ff8c00;
  color: #222; /* dark text for contrast */
}

.button-ambassador:hover {
  background-color: #ffb733; /* lighter orange */
  box-shadow: 0 6px 12px rgba(255, 140, 0, 0.2);
}

.button-appointment {
  background-color: #4b2e2e; /* dark brown */
}

.button-appointment:hover {
  background-color: #6f4f4f; /* lighter brown */
  box-shadow: 0 6px 12px rgba(75, 46, 46, 0.2);
}

.button-donation {
  background-color: #b8860b; /* dark yellow */
}

.button-donation:hover {
  background-color: #daa520; /* golden rod */
  box-shadow: 0 6px 12px rgba(186, 165, 26, 0.2);
}




/* Style for the confirmation container */
.confirmation {
  background-color: black;
  border: 4px solid white;
  border-radius: 10px; /* Curved borders */
  padding: 10px;
  display: flex;
  align-items: center;
  margin-top: 15px;
}

/* Hide the default checkbox */
.confirmation input[type="checkbox"] {
  appearance: none; /* Remove default styling */
  width: 25px;
  height: 25px;
  background-color: #fff;
  border: 3px solid #fff;
  border-radius: 5px; /* Rounded checkbox */
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}

/* Make checkbox more attractive when checked */
.confirmation input[type="checkbox"]:checked {
  background-color: #4CAF50; /* Green background for checked state */
  border-color: #4CAF50;
}

/* Add checkmark when checked using pseudo-element */
.confirmation input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 3px;
  width: 6px;
  height: 12px;
  border: solid white;
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
}

/* Style the label text */
.confirmation label {
  color: white;
  font-weight: bold;
  margin-left: 10px;
  cursor: pointer;
  font-size: 16px;
}



/* Wrapper with unique background, border, padding, and responsiveness */
.plan-section {
  background-color: #f0f4f8; /* Light unique background color */
  border: 3px solid #333; /* Distinct border */
  border-radius: 15px; /* Rounded edges */
  padding: 20px;
  max-width: 1000px;
  margin: 30px auto; /* Centered with margin */
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Section title styling */
.section-title {
  text-align: center;
  font-size: 24px;
  margin-bottom: 20px;
  font-weight: bold;
  color: #222;
}

/* Style for the table */
.plantable {
  width: 100%;
  border-collapse: collapse;
  font-family: 'Arial', sans-serif;
  overflow-x: auto; /* Responsive scroll on smaller screens */
}

/* Table headers */
.plantable thead {
  background-color: #222; /* Dark background for header */
  color: #fff;
}

/* Header cells styling */
.plantable th {
  padding: 15px;
  font-size: 16px;
  text-align: left;
  border-bottom: 3px solid #fff; /* Thick white border bottom */
}

/* Table data cells */
.plantable td {
  padding: 15px;
  vertical-align: top;
  border-bottom: 2px solid #ddd;
}

/* Style for list inside the table */
.plantable td ul {
  margin: 0;
  padding-left: 20px;
  list-style-type: disc;
}

/* Responsive for small screens */
@media(max-width: 768px) {
  .plan-section {
    padding: 10px;
  }
  .plantable {
    font-size: 14px;
  }
}