/* General Styles */
body {
  background: url('../images/bg.jpeg') no-repeat center center fixed;
  background-size: cover;
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  margin: 0;
  padding: 0;
  display: flex; /* Use flexbox to center the container */
  justify-content: center; /* Horizontally center content */
  align-items: flex-start; /* Align content to the top */
  min-height: 100vh; /* Ensure body stretches to full height */
}

/* Overlay for better readability */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  min-height: 100vh; /* Ensure it covers the entire viewport height */
  height: 100%; /* Stretch along the entire page height */
  background: rgba(18, 18, 18, 0.4); /* Slight dark overlay */
  z-index: -1; /* Place it behind the content */
}

/* Main Content Container */
.main-container {
  width: 100%; /* Full width by default */
  max-width: 500px; /* Constrain to a maximum width */
  background: transparent; /* Transparent to keep the background visible */
  margin: 0 auto; /* Center the container horizontally */
  padding: 0px; /* Add some padding for spacing */
  box-sizing: border-box; /* Include padding in the width */
}


/* Headings */
.login-container .card h2 {
  font-size: 24px;
  font-weight: 600;
  color: #ffffff;
  text-align: center;
  margin-bottom: 16px;
}

/* Paragraphs */
.login-container .card p {
  color: #b3b3b3 !important; /* Muted white for better contrast */
  font-size: 14px;
  text-align: center;
  margin-bottom: 24px;
}

/* Labels */
.login-container .card .form-label {
  font-size: 14px;
  color: #ffffff; /* White labels */
  margin-bottom: 8px;
}

/* Input Group */
.input-group {
  background: #1e1e1e;
  border-radius: 8px;
  overflow: hidden;
}

.input-group-text {
  background: #246BFD; /* BondMax primary blue */
  color: #ffffff;
  border: none;
  font-weight: 500;
}

input.form-control {
  background: #1e1e1e !important; /* Dark input background */
  color: #ffffff !important; /* Bright white text for readability */
  border: 1px solid #333333; /* Subtle border */
  border-left: none;
  font-size: 16px; /* Slightly larger font for better readability */
}

input.form-control:focus {
  background: #1e1e1e; /* Consistent background on focus */
  color: #ffffff;
  border-color: #246BFD; /* Blue border on focus */
  box-shadow: 0 0 0 0.2rem rgba(36, 107, 253, 0.25); /* Light blue glow */
}

/* Placeholder Text */
input::placeholder {
  color: #b3b3b3 !important; /* Muted gray for placeholder */
  font-size: 14px;
}

/* Buttons */
.btn-primary {
  background: linear-gradient(90deg, #246BFD 0%, #7D4DFF 100%);
  color: #ffffff;
  border: none;
  padding: 12px 16px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 16px;
  text-align: center;
  transition: all 0.3s ease-in-out;
}

.btn-primary:hover {
  opacity: 0.9;
}

.btn-primary:disabled {
  background: #333333; /* Disabled gray */
  color: #b3b3b3; /* Muted text for disabled state */
  cursor: not-allowed;
}

/* Responsive Adjustments */
@media (max-width: 576px) {
  .login-container .card {
    width: 100%; /* Full width on small screens */
    padding: 16px;
  }

  .login-container .card h2 {
    font-size: 20px;
  }

  input.form-control {
    font-size: 14px;
  }

  .btn-primary {
    font-size: 14px;
    padding: 10px;
  }
}

/* Paragraph Text */
.description-text {
  color: #b3b3b3; /* Muted white for better contrast */
  font-size: 14px;
  text-align: center;
  margin-bottom: 16px;
}

/* Alert Container */
.custom-alert {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #1e1e1e; /* Dark background */
  color: #ffffff; /* Default text color */
  border: 1px solid transparent; /* Border color changes based on alert type */
  border-radius: 8px; /* Rounded corners */
  padding: 12px 16px; /* Spacing inside the alert */
  margin-bottom: 16px; /* Space between alerts */
  font-size: 14px; /* Standard font size */
  font-weight: 500;
  box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.4); /* Subtle shadow for focus */
  transition: all 0.3s ease-in-out; /* Smooth transitions for fade effects */
  opacity: 1;
  transform: translateY(0);
  animation: fadeIn 0.3s ease-in-out;
}

/* Custom Fade Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Alert Types */
.custom-alert.success {
  border-color: #28a745; /* Success green */
}

.custom-alert.error {
  border-color: #dc3545; /* Error red */
}

.custom-alert.warning {
  border-color: #ffc107; /* Warning yellow */
}

.custom-alert.info {
  border-color: #17a2b8; /* Info blue */
}

/* Alert Message */
.alert-message {
  flex-grow: 1; /* Fills available space */
  margin-right: 12px; /* Space between message and close button */
}

/* Close Button */
.alert-close {
  background: none;
  border: none;
  color: #ffffff; /* Close icon color */
  font-size: 16px; /* Slightly larger size for visibility */
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s ease;
}

.alert-close:hover {
  color: #ff4d4d; /* Red hover for close button */
}

/* Dismiss Animation */
.custom-alert.fade-out {
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
}


/* Full-Screen Loader */
.app-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9); /* Slightly darker background for focus */
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 1050;
  text-align: center;
}


/* Spinner */
.spinner {
  width: 60px; /* Slightly larger spinner */
  height: 60px;
  border: 5px solid rgba(255, 255, 255, 0.2); /* Transparent white border */
  border-top: 5px solid #246BFD; /* Brand primary blue */
  border-right: 5px solid #7D4DFF; /* Brand secondary purple */
  border-radius: 50%;
  animation: spin 1s linear infinite;
  box-shadow: 0 0 15px rgba(36, 107, 253, 0.6); /* Subtle glow effect */
}

/* Fade-In Animation for Loader */
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Loader Text */
.app-loader h1 {
  font-size: 24px;
  font-weight: 600;
  color: #ffffff; /* Bright white text */
  margin-top: 16px; /* Space above text */
}

.app-loader p {
  font-size: 14px;
  color: #b3b3b3; /* Muted white for secondary text */
  margin-top: 8px;
}

.login-icon {
  border-radius: 50%; /* Makes the icon circular */
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2); /* Adds a subtle shadow */
  margin-bottom: 1rem; /* Adds spacing below the icon */
}



.login-card {
  /* Main card styling */
  background: rgba(255, 255, 255, 0.9);
  border-radius: 10px;
  width: 400px;
}


.login-description {
  /* Introductory text styling */
  font-size: 1rem;
  color: #555;
}

/* Verification Container */
.verification-container, .preference-container, .login-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 16px;
}

/* Card Style */
.verification-card, .preference-card, .login-container .card {
  background: rgba(24, 24, 24, 0.9);
  color: #ffffff;
  border-radius: 12px !important; /* Rounded corners */
  box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.6);
  padding: 24px;
  width: 400px;
  max-width: 90%;
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.preference-card:hover, .login-container .card:hover {
  transform: translateY(-5px); /* Subtle lift on hover */
  box-shadow: 0px 6px 20px rgba(0, 0, 0, 0.5); /* Enhanced shadow on hover */
}

/* Logo */
.verification-logo, .preference-logo, .login-logo {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
  background: linear-gradient(90deg, #246BFD, #7D4DFF); /* Gradient border */
  padding: 4px; /* Space for the border */

}

/* Footer */
.verification-footer {
  font-size: 12px;
  color: #b3b3b3;
}

.verification-footer a {
  text-decoration: none;
  color: #246BFD;
}

.verification-footer a:hover {
  text-decoration: underline;
}


/* Button Styles */
.btn-outline-primary {
  color: #246BFD;
  border: 1px solid #246BFD;
}

.btn-outline-primary:hover {
  background: #246BFD;
  color: #ffffff;
}

/* Title */
.preference-card h1 {
  font-size: 20px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 16px;
  text-align: center;
}

/* Secondary Text */
.preference-card p {
  font-size: 14px;
  color: #b3b3b3; /* Muted white */
  font-weight: 400; /* Lighter weight for secondary text */
  text-align: center;
  margin-bottom: 24px;
}

input[type="checkbox"],
input[type="radio"] {
  accent-color: #246BFD; /* Use brand blue */
  width: 16px;
  height: 16px;
}

input[type="checkbox"]:checked,
input[type="radio"]:checked {
  box-shadow: 0px 0px 4px rgba(36, 107, 253, 0.6); /* Add glow effect */
}















/* Navbar */
.navbar {
  height: 90px; /* Maintain original height */
  background: rgba(0, 0, 0, 0.6); /* Semi-transparent dark background */
  backdrop-filter: blur(10px); /* Glassmorphic blur effect */
  border-top: 1px solid rgba(255, 255, 255, 0.1); /* Subtle border for separation */
  box-shadow: 0px -2px 8px rgba(0, 0, 0, 0.2); /* Subtle shadow above navbar */
  padding: 0px;
  margin:0 auto;
  max-width: 500px;
}

.navbar div {
  background: rgba(0, 0, 0, 0.6); /* Semi-transparent dark background */
  margin:0px;
  padding:0px;
}

/* Navbar Buttons */
.navbar .btn-link {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.7); /* Muted white text for inactive icons */
  font-size: 0.85rem; /* Slightly smaller font for labels */
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: color 0.3s ease, transform 0.3s ease; /* Smooth hover effect */
}

.navbar .btn-link:hover {
  color: #ffffff; /* Brighten text on hover */
  transform: translateY(-3px); /* Slight lift on hover */
}

/* Active State */
.navbar .btn-link span.active {
  color: #246BFD; /* BondMax primary blue for active state */
  font-size: 1.2rem; /* Slightly larger size for active icon */
  font-weight: bold;
  background: linear-gradient(135deg, rgba(36, 107, 253, 0.8), rgba(125, 77, 255, 0.8)); /* Gradient background for active icon */
  border-radius: 50%; /* Circular background */
  padding: 8px; /* Padding around the active icon */
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0px 4px 12px rgba(36, 107, 253, 0.5); /* Subtle glow for active icon */
}

/* Label Text */
.navbar .btn-link .d-block {
  color: rgba(255, 255, 255, 0.7); /* Muted white for inactive text */
  font-size: 0.75rem; /* Smaller font size for labels */
  margin-top: 4px; /* Space between icon and label */
  transition: color 0.3s ease;
}

.navbar .btn-link:hover .d-block,
.navbar .btn-link span.active + .d-block {
  color: #ffffff; /* Brighten label for hover and active states */
}

/* Responsive Adjustments */
@media (max-width: 576px) {
  .navbar .btn-link {
    font-size: 0.8rem; /* Slightly smaller font size for smaller screens */
  }

  .navbar .btn-link span.active {
    font-size: 1rem; /* Adjust active icon size for smaller screens */
    padding: 6px; /* Slightly smaller padding */
  }
}


/* Bond Card Styling */
.bond-card {
  background: linear-gradient(135deg, rgba(36, 107, 253, 0.2), rgba(125, 77, 255, 0.2)); /* Brand gradient with transparency */
  border: 1px solid rgba(255, 255, 255, 0.2); /* Subtle border for separation */
  border-radius: 10px; /* Rounded corners for a modern look */
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2); /* Subtle shadow */
  color: #ffffff; /* White text for readability */
  transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smooth hover effects */
  overflow: hidden; /* Ensure content doesn't exceed card boundaries */
  backdrop-filter: blur(8px); /* Glassmorphic effect */
}

.bond-card:hover {
  transform: translateY(-5px); /* Subtle lift on hover */
  box-shadow: 0px 6px 16px rgba(125, 77, 255, 0.4); /* Glowing shadow effect */
}

/* Card Body */
.bond-card .card-body {
  padding: 20px; /* Comfortable padding */
  color: #f0f0f0; /* Slightly muted white for text */
}

/* Card Title */
.bond-card .card-title {
  font-size: 1.2rem; /* Slightly larger title */
  font-weight: bold; /* Emphasis on title */
  color: #ffffff; /* Bright white for title */
  margin-bottom: 12px;
  text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2); /* Subtle shadow for better readability */
}

/* Subtitle */
.bond-card .text-muted {
  font-size: 0.9rem; /* Smaller font size for secondary info */
  color: rgba(255, 255, 255, 0.7) !important; /* Muted white for subtitle */
  margin-bottom: 16px;
}

/* Highlighted Values */
.bond-card p strong {
  font-size: 1rem; /* Standard font size for emphasis */
  color: #ffffff; /* White for emphasized values */
}

/* Positive Rate (Red) and Negative Rate (Green) */
.bond-card p strong.positive {
  color: #ff6b6b; /* Vibrant red for positive values */
}

.bond-card p strong.negative {
  color: #28a745; /* Calm green for negative values */
}

/* Remaining Info */
.bond-card p {
  font-size: 0.95rem; /* Standard font size for body text */
  color: rgba(255, 255, 255, 0.9); /* Slightly brighter white */
  margin-bottom: 12px; /* More spacing between paragraphs */
}

/* Last Paragraph */
.bond-card p.mb-0 {
  margin-bottom: 0; /* No margin for the last paragraph */
}

/* Responsive Design */
@media (max-width: 576px) {
  .bond-card .card-title {
    font-size: 1rem; /* Adjust title size for smaller devices */
  }

  .bond-card p {
    font-size: 0.85rem; /* Adjust paragraph size for smaller devices */
  }
}












/* Chatbot Button */
.chatbot-btn {
  background-color: #246BFD; /* BondMax primary blue */
  color: white;
  border: none; /* Remove any default borders */
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1); /* Subtle shadow */
  transition: transform 0.2s ease, box-shadow 0.2s ease; /* Smooth hover effects */
  width: 56px; /* Fixed width for the button */
  height: 56px; /* Fixed height for uniform shape */
  display: flex;
  justify-content: center;
  align-items: center;
}

.chatbot-btn:hover {
  background-color: #0056b3; /* Darker blue on hover */
  transform: scale(1.05); /* Slight zoom on hover */
  box-shadow: 0px 6px 16px rgba(0, 0, 0, 0.15); /* Enhanced shadow */
}

.chatbot-btn:active {
  transform: scale(1); /* Reset scale when clicked */
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1); /* Reset shadow */
}

/* Icon Styling */
.chatbot-btn span {
  font-size: 1.5rem; /* Large size for the system emoji */
  line-height: 1;
}


















/* Search Bar Container */
.search-bar {
  max-width: 100%; /* Allow it to stretch across the page */
  border-radius: 8px; /* Rounded corners for a modern look */
  box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
  overflow: visible !important; /* Allow dropdown to overflow */
}

/* Search Input */
.search-input {
  border: 1px solid #e6e6e6; /* Light border for separation */
  border-right: none; /* Remove border between input and button */
  border-radius: 8px 0 0 8px; /* Rounded left corners */
  padding: 12px; /* Comfortable padding */
  font-size: 1rem; /* Standard font size */
  color: #555555; /* Neutral gray for text */
  transition: border-color 0.3s ease, box-shadow 0.3s ease; /* Smooth focus effect */
}

.search-input:focus {
  border-color: #246BFD; /* BondMax primary blue on focus */
  box-shadow: 0 0 4px rgba(36, 107, 253, 0.4); /* Subtle shadow on focus */
  outline: none; /* Remove default outline */
}

/* Search Button */
.search-btn {
  background-color: #246BFD; /* BondMax primary blue */
  color: white; /* White text for contrast */
  border: none; /* Remove default border */
  border-radius: 0 8px 8px 0; /* Rounded right corners */
  font-size: 1rem; /* Standard font size */
  padding: 12px 16px; /* Comfortable padding */
  transition: background-color 0.3s ease, box-shadow 0.3s ease; /* Smooth hover effect */
}

.search-btn:hover {
  background-color: #0056b3; /* Darker blue on hover */
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2); /* Subtle shadow on hover */
}

.search-btn:active {
  background-color: #003f8c; /* Even darker blue when active */
  transform: scale(0.98); /* Slight press effect */
}

/* Dropdown Menu */
.dropdown-menu {
  position: absolute; /* Ensure it stays positioned relative to its parent */
  top: 100%; /* Position below the input group */
  left: auto; /* Align it to the right of the button */
  right: 0; /* Ensure alignment with the button */
  z-index: 1050; /* Higher z-index to appear above other elements */
  border-radius: 8px; /* Rounded corners for consistency */
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
  font-size: 0.95rem; /* Slightly smaller font size for dropdown items */
  background-color: #ffffff; /* Ensure the dropdown has a white background */
}

/* Dropdown Items */
.dropdown-menu .dropdown-item {
  color: #555555; /* Neutral gray for items */
  padding: 10px 16px; /* Comfortable padding */
  transition: background-color 0.3s ease, color 0.3s ease;
}

.dropdown-menu .dropdown-item:hover {
  background-color: #246BFD; /* BondMax primary blue on hover */
  color: white; /* White text for contrast */
}

/* Fix for Input Group Overlap */
.input-group {
  position: relative; /* Create a positioning context for the dropdown */
}


/* Bond Listing Page Styles */
.bond-listing-page {
  position: relative;
  padding-bottom: 90px; /* Account for the navbar height */
  min-height: 100vh; /* Ensure full height for the page */
}

/* Header Section */
.page-header {
  background: rgba(0, 0, 0, 0.2); /* Semi-transparent dark header */
  border-bottom: 1px solid rgba(255, 255, 255, 0.1); /* Subtle divider */
  color: #ffffff; /* Bright text for contrast */
  box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.2); /* Subtle header shadow */
}

.page-header h1 {
  font-size: 1.25rem; /* Slightly larger for emphasis */
  color: #ffffff; /* White text */
  font-weight: 600; /* Bold for readability */
  margin: 0;
}

/* Section Titles */
.section-title {
  font-size: 1.125rem; /* Medium font size */
  color: #ffffff; /* White text for contrast */
  font-weight: 600; /* Semi-bold for emphasis */
  border-bottom: 1px solid rgba(255, 255, 255, 0.1); /* Subtle underline */
  padding-bottom: 8px;
  margin-bottom: 16px;
}

/* Bond Card List */
.bond-card-list {
  display: flex;
  flex-direction: column;
  gap: 16px; /* Space between cards */
}

/* Responsive Adjustments */
@media (max-width: 576px) {
  .page-header h1 {
    font-size: 1rem; /* Adjust header size for smaller screens */
  }

  .section-title {
    font-size: 1rem; /* Adjust section title size for smaller screens */
  }
}




























/* General Page Styles */
.bond-detail-page {
  background-size: cover;
  color: #ffffff; /* White text for readability */
  font-family: 'Inter', sans-serif; /* Consistent font */
  padding-bottom: 190px; /* Account for the fixed footer */
  min-height: 100vh; /* Full height */
}



.page-header .btn-link {
  color: #ffffff; /* White for buttons */
  font-size: 1rem;
  text-decoration: none;
  transition: color 0.3s ease-in-out;
}

.page-header .btn-link:hover {
  color: #246BFD; /* BondMax primary blue on hover */
}

/* Bond Title Section */
.bond-title {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1); /* Subtle divider */
  padding: 16px; /* Spacing */
  color: #ffffff; /* White text */
}

.bond-title h2 {
  font-size: 1.1rem; /* Slightly larger for emphasis */
  font-weight: 600; /* Bold for title */
  margin-bottom: 4px;
}

.bond-title p {
  font-size: 0.9rem; /* Smaller font for secondary text */
  color: #b3b3b3 !important; /* Muted gray */
  margin: 0;
}

/* Section Titles */
.section-title {
  font-size: 1rem;
  color: #eaeaea; /* Light gray for better contrast */
  font-weight: 600;
  margin-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1); /* Subtle underline */
  padding-bottom: 4px;
}

/* Basic Information Section */
.basic-info .row > div {
  font-size: 0.95rem;
  color: #ffffff; /* White text */
  padding: 8px 15px; /* Consistent padding for each item */
}

.basic-info .row > div strong {
  color: #246BFD; /* Highlighted values in BondMax blue */
  font-weight: 600;
}

/* Historical Prices Section */
.history {
  padding: 16px;
}

.history .chart {
  width: 100%;
  height: 150px;
  background: rgba(255, 255, 255, 0.1); /* Semi-transparent gray for dark theme */
  color: #ffffff; /* White text */
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px; /* Rounded corners */
  margin-bottom: 16px;
}

.history .text-muted {
  color: #b3b3b3; /* Muted gray for secondary text */
}

.history .table {
  border-collapse: separate; /* Add spacing between cells */
  border-spacing: 0 8px; /* Space between rows */
  width: 100%;
  color: #ffffff; /* White text */
}

.history .table th {
  font-size: 0.9rem;
  font-weight: 600;
  color: #b3b3b3; /* Muted gray for headers */
  border-bottom: 1px solid rgba(255, 255, 255, 0.1); /* Subtle separator */
  background-color: rgba(0, 0, 0, 0.5);
}

.history .table td {
  font-size: 0.9rem;
  color: #ffffff; /* White for table text */
  padding: 8px;
  background: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
  border-radius: 4px; /* Rounded corners for cells */
}

/* Product Information Section */
.product-info ul {
  list-style: none; /* Remove bullet points */
  padding-left: 0;
    background-color: rgba(0, 0, 0, 0.5);

}

.product-info li {
  font-size: 0.95rem;
  color: #ffffff; /* White text */
  margin-bottom: 8px; /* Space between items */
}

.product-info li strong {
  color: #246BFD; /* BondMax blue for labels */
  font-weight: 600;
}

/* Chatbot Icon */
.chatbot-icon button {
  background-color: #246BFD; /* BondMax primary blue */
  color: #ffffff; /* White icon */
  border: none;
  box-shadow: 0 4px 10px rgba(36, 107, 253, 0.4); /* Subtle blue shadow */
  transition: transform 0.2s ease, box-shadow 0.2s ease; /* Smooth hover effect */
}

.chatbot-icon button:hover {
  transform: scale(1.05); /* Slight zoom on hover */
  box-shadow: 0 6px 16px rgba(36, 107, 253, 0.6); /* Enhanced shadow */
}

/* Footer CTA Buttons */
.cta-buttons {
  display: flex;
  background: rgba(0, 0, 0, 0.8); /* Dark background */
  border-top: 1px solid rgba(255, 255, 255, 0.1) !important; /* Subtle border */
}

.cta-buttons .btn {
  text-align: center;
  padding: 12px 0;
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
  transition: all 0.3s ease-in-out;
}

.cta-buttons .btn-light {
  background: rgba(255, 255, 255, 0.1); /* Semi-transparent white */
  border-right: 1px solid rgba(255, 255, 255, 0.1) !important; /* Divider between buttons */
}

.cta-buttons .btn-light:hover {
  background: rgba(255, 255, 255, 0.2); /* Lighter hover effect */
}

.cta-buttons .btn-primary {
  background: linear-gradient(90deg, #246BFD 0%, #7D4DFF 100%); /* Gradient for primary action */
  color: #ffffff;
}

.cta-buttons .btn-primary:hover {
  opacity: 0.9; /* Slight hover effect */
}

.border-bottom {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important; /* Subtle divider */

}

.sticky-footer {
  position: sticky;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.8);
  border-top: 1px solid #e0e0e0; /* Subtle border */
  padding: 1rem; /* Add padding */
  z-index: 10; /* Ensure it stays above other content */
}


.bond-info p{
  color: rgba(255, 255, 255, 0.7) !important; /* Muted white for labels */
}



































/* Metrics Section */
.metrics-section {
  background: rgba(0, 0, 0, 0.6); /* Semi-transparent dark background */
  backdrop-filter: blur(8px); /* Glassmorphic effect */
  color: #ffffff; /* White text */
  padding: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1); /* Subtle divider */
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.2); /* Inner shadow for depth */
  border-radius: 8px; /* Rounded corners */
}

.metrics-section .row > div {
  font-size: 0.9rem;
}

.metrics-section p.text-muted {
  color: rgba(255, 255, 255, 0.6) !important; /* Muted white for labels */
  margin-bottom: 4px;
}

.metrics-section p.h5 {
  color: #ffffff; /* Bright white for main values */
  font-weight: bold;
}

.metrics-section p.text-danger {
  color: #ff6b6b; /* Bright red for negative numbers */
}

.metrics-section p.text-success {
  color: #28a745; /* Green for positive numbers */
}

/* Holdings Section */
.holdings-section {
  padding: 16px;
}

.holdings-section h2 {
  font-size: 1rem;
  color: #ffffff;
  font-weight: bold;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2); /* Underline for section title */
  padding-bottom: 8px;
}

/* Holding Card Styling */
.holding-card {
  background: linear-gradient(135deg, rgba(36, 107, 253, 0.8), rgba(125, 77, 255, 0.8)); /* Gradient background */
  color: #ffffff; /* White text */
  border: 1px solid rgba(255, 255, 255, 0.1); /* Subtle border */
  border-radius: 10px; /* Rounded corners */
  padding: 16px;
  margin-bottom: 12px; /* Space between cards */
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2); /* Subtle shadow */
  transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smooth hover effect */
}

.holding-card:hover {
  transform: translateY(-3px); /* Lift effect on hover */
  box-shadow: 0px 6px 16px rgba(36, 107, 253, 0.4); /* Stronger shadow on hover */
}

.holding-card p {
  font-size: 0.9rem; /* Standard font size */
  margin-bottom: 8px; /* Space between paragraphs */
}

.holding-card p.text-muted {
  color: rgba(255, 255, 255, 0.7) !important; /* Muted white for labels */
}

.holding-card p.small {
  font-size: 0.85rem; /* Smaller font for secondary details */
  color: rgba(255, 255, 255, 0.9); /* Slightly brighter white for values */
}

.holding-card p.mb-0 {
  margin-bottom: 0; /* No margin for the last paragraph */
}



































/* Tool Listing Page */
.tool-listing-page {
  padding-bottom: 90px; /* Account for the navbar */
}



/* Calculator Section */
.calculator-section {
  background: rgba(0, 0, 0, 0.6); /* Semi-transparent dark background */
  backdrop-filter: blur(8px); /* Glassmorphic effect */
  border-radius: 8px; /* Rounded corners */
  padding: 16px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2); /* Subtle shadow */
}

.calculator-section h2 {
  font-size: 1rem;
  color: #ffffff; /* White text */
  font-weight: bold;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2); /* Underline for section title */
  padding-bottom: 8px;
}

/* Form Labels */
.calculator-section .form-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7); /* Muted white */
  margin-bottom: 8px;
}

/* Form Controls */
.calculator-section .form-control {
  background: rgba(255, 255, 255, 0.1); /* Semi-transparent input background */
  color: #ffffff; /* White text */
  border: 1px solid rgba(255, 255, 255, 0.2); /* Subtle border */
  font-size: 0.9rem;
  border-radius: 8px; /* Rounded corners */
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.calculator-section .form-control:focus {
  border-color: #246BFD; /* BondMax primary blue on focus */
  box-shadow: 0 0 4px rgba(36, 107, 253, 0.4); /* Subtle blue glow */
}

/* Dropdown Styling */
.calculator-section .form-select {
  background: rgba(255, 255, 255, 0.1) !important; /* Semi-transparent select background */
  color: #ffffff; /* White text */
  border: 1px solid rgba(255, 255, 255, 0.2); /* Subtle border */
  font-size: 0.9rem;
  border-radius: 8px; /* Rounded corners */
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  appearance: none; /* Remove default browser styling */
  padding-right: 2rem; /* Add space for custom arrow */
  position: relative;
}

/* Dropdown Arrow */
.calculator-section .form-select::after {
  content: '▼'; /* Custom dropdown arrow */
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7); /* Muted white */
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  pointer-events: none; /* Prevent interaction with the arrow */
}

/* Styling the Dropdown Menu */
.calculator-section select {
  background: rgba(0, 0, 0, 0.8); /* Dark background for dropdown menu */
  color: #ffffff; /* White text */
  border: none;
  outline: none;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2); /* Subtle shadow */
}

/* Dropdown Options */
.calculator-section select option {
  background: rgba(0, 0, 0, 0.8); /* Dark background for options */
  color: #ffffff; /* White text for options */
  padding: 8px;
  border: none;
}

.calculator-section select option:hover {
  background: rgba(36, 107, 253, 0.8); /* BondMax blue on hover */
  color: #ffffff; /* White text */
}

.calculator-section .form-check-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7); /* Muted white */
}

.calculator-section .input-group {
  border: 1px solid rgba(255, 255, 255, 0.2); /* Subtle border */
  border-radius: 8px; /* Rounded corners */
  overflow: hidden; /* Ensure inner elements are clipped */
}

.calculator-section .input-group-text {
  background: #246BFD; /* BondMax primary blue */
  color: #ffffff; /* White text */
  border: none;
  font-weight: bold;
}

/* Button */
.calculator-section .btn-primary {
  background: linear-gradient(90deg, #246BFD 0%, #7D4DFF 100%); /* Gradient button */
  color: #ffffff; /* White text */
  border-radius: 8px;
  border: none;
  padding: 12px 16px;
  font-weight: bold;
  font-size: 1rem;
  transition: all 0.3s ease-in-out;
}

.calculator-section .btn-primary:hover {
  opacity: 0.9; /* Slight hover effect */
  transform: translateY(-2px); /* Subtle lift on hover */
  box-shadow: 0px 6px 20px rgba(36, 107, 253, 0.4); /* Glowing shadow */
}

/* Results Section */
.results-section {
  background: rgba(0, 0, 0, 0.6); /* Semi-transparent dark background */
  border-radius: 8px; /* Rounded corners */
  padding: 16px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2); /* Subtle shadow */
}

.results-section h2 {
  font-size: 1rem;
  color: #ffffff; /* White text */
  font-weight: bold;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2); /* Underline for section title */
  padding-bottom: 8px;
}

.results-section p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.9); /* Slightly brighter white */
  margin-bottom: 8px;
}

.results-section strong {
  color: #246BFD; /* BondMax primary blue */
  font-weight: bold;
}

/* Knowledge Section */
.knowledge-section {
  padding: 16px;
}

.knowledge-section h2 {
  font-size: 1rem;
  color: #ffffff; /* White text */
  font-weight: bold;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2); /* Underline for section title */
  padding-bottom: 8px;
}

.knowledge-section ul {
  list-style: none; /* Remove bullet points */
  margin: 0;
  padding: 0;
}

.knowledge-section li {
  margin-bottom: 8px; /* Space between links */
}

.knowledge-section a {
  color: #246BFD; /* BondMax primary blue */
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.knowledge-section a:hover {
  color: #7D4DFF; /* BondMax secondary purple on hover */
  text-decoration: underline;
}






























/* Profile Page */
.profile-page {
  padding-bottom: 90px; /* Adjust for the navbar */
}


/* Profile Section */
.profile-page .text-center img {
  border-radius: 50%; /* Circular profile picture */
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2); /* Subtle shadow */
  background: linear-gradient(90deg, #246BFD 0%, #7D4DFF 100%); /* Gradient border */
  padding: 4px; /* Space for the border */
}

.profile-page .text-center p {
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.profile-page .text-center p.fw-bold {
  color: #ffffff; /* Bright white for name */
  font-size: 1.1rem; /* Slightly larger font for emphasis */
}

.profile-page .text-center p.text-muted {
  color: rgba(255, 255, 255, 0.7) !important; /* Muted white for secondary text */
}

/* List of Options */
.profile-page ul {
  list-style: none; /* Remove bullet points */
  padding: 0;
  margin: 0;
}

.profile-page ul li {
  background: rgba(0, 0, 0, 0.6); /* Semi-transparent dark background */
  border: 1px solid rgba(255, 255, 255, 0.1); /* Subtle border */
  border-radius: 8px; /* Rounded corners */
  overflow: hidden; /* Ensure text doesn't overflow */
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2); /* Subtle shadow */
  transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smooth hover effects */
  margin-bottom: 0px !important;
}

.profile-page ul li:hover {
  transform: translateY(-3px); /* Slight lift on hover */
  box-shadow: 0px 6px 16px rgba(36, 107, 253, 0.4); /* Glowing shadow effect */
}

.profile-page ul li .btn {
  font-size: 0.9rem;
  color: #ffffff; /* White text */
  text-align: left;
  padding: 12px 16px;
  width: 100%; /* Full width button */
  background: none; /* No button background */
  border: none; /* No button border */
  border-radius: 0; /* Remove button corners */
  transition: color 0.3s ease;
}

.profile-page ul li .btn:hover {
  color: #246BFD; /* BondMax primary blue on hover */
  text-decoration: underline; /* Add underline on hover */
}

/* Danger Button (Logout) */
.profile-page ul li .btn.text-danger {
  color: #ff6b6b; /* Bright red for logout */
}

.profile-page ul li .btn.text-danger:hover {
  color: #ff4d4d; /* Slightly darker red on hover */
}

