.youtube_red {
  color: #EE0F0F;
}

.admonition p {
  font-size: 1.0em;
  /* Adjust this value as needed */
}

* {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.image-box {
  position: relative;
  margin: auto;
  overflow: hidden;
  width: 540px;
}

.image-box img {
  max-width: 100%;
  transition: all 0.3s;
  display: block;
  width: 100%;
  height: auto;
  transform: scale(1);
}

.image-box:hover img {
  transform: scale(1.1);
}

/* Custom Admonition Styling */
.custom-admonition {
  border-radius: 12px;
  /* Rounded corners */
  background: linear-gradient(135deg, #6a11cb, #2575fc);
  /* Gradient */
  color: white;
  /* Text color */
  padding: 15px;
  border-left: 5px solid #4a90e2;
  /* Left border color */
}

/* Ensure text inside looks good */
.custom-admonition h4 {
  color: white;
  /* Title color */
  font-weight: bold;
}

/* custom admonition with circular frame */
.custom-admonition-container {
  display: flex;
  /* Aligns image and text side by side */
  align-items: center;
  border-radius: 12px;
  /* Rounded corners */
  background: linear-gradient(135deg, #6a11cb, #2575fc);
  /* Gradient */
  color: white;
  padding: 15px;
  margin: 20px 0;
  border-left: 5px solid rgba(255, 255, 255, 0.5);
  position: relative;
  /* width: 80px; */
  /* width: 80%; */
  /* height: 80px; */
  /* height: 25%; */
}

/* Circular Icon Frame */
.custom-admonition-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  /* Makes it circular */
  border: 3px solid rgba(255, 255, 255, 0.5);
  /* Outer ring */
  overflow: hidden;
  /* Ensures the image stays within the circle */
  margin-right: 15px;
  /* Space between circle and text */
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
  /* Optional glow effect */
}

/* Admonition Text Content */
.custom-admonition-content {
  flex: 1;        /* Ensures text takes up remaining space */
}

/* Ensure title is bold and readable */
.custom-admonition-content strong {
  font-size: 1.2em;
  display: block;
  margin-bottom: 5px;
}

/* Ensure the image fits inside the circular frame */
.custom-admonition-icon img {
  width: 100%;
  /* Make the image fit inside the circle */
  height: 100%;
  object-fit: cover;
  /* Ensures the image fills the circle without distortion */
  border-radius: 50%;
  /* Keeps it circular */
}

/* Circular Image Frame with Gradient Borders */
.rounded-corners-gradient-borders {
  box-sizing: border-box;
  padding: 4px;
  /* Controls the border thickness */
  border-radius: 50%;
  background: linear-gradient(45deg, #F48ACE 0%, #493A97 100%);
  /* display: inline-flex; */
  display: flex;
  overflow: hidden;
  justify-content: center;
  align-items: center;
  margin-right: 15px;
  /* Space between circle and text */
  transition: transform 0.6s cubic-bezier(0.76, 0, 0.24, 1),
    box-shadow 0.8s cubic-bezier(0.76, 0, 0.24, 1);
  /* width: 10%;*/
  /*use when the need comes for reducing the frame size */
}

/* Hover Effect */
.rounded-corners-gradient-borders:hover {
  transform: scale(1.1) rotate(0.5deg);
  transform-origin: center center;
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.25),
    0 0 48px rgba(0, 0, 0, 0.35);
}

/* Ensures Image Stays Inside Circular Frame */
.rounded-corners-gradient-borders img {
  width: 100%;
  /* Makes the image fully occupy the container */
  height: 100%;
  object-fit: cover;
  /* Ensures the whole image is visible inside the frame */
  border-radius: 50%;
  /* Keeps it circular */
  padding: 5px;
  /* Adds spacing to prevent clipping */
  background-color: white;
  /* Optional: Ensures contrast inside the frame */
}

.paragraph-style {
  display: flex;
  align-items: center;
  /* Align text vertically */
  justify-content: space-between;
  /* Spread content evenly */
  gap: 10px;
  /* Adds spacing between inline elements */
}

.glassmorphism-box {
  position: relative;
  background: rgba(113, 177, 255, 0.2);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
  /* backdrop-filter: blur(2px); */
  -webkit-backdrop-filter: blur(2px);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  
  /* Make it flexible instead of fixed */
  /* width: min(90vw, 120vh);  */
   /* Maximum width: 120vh, responsive to viewport */
  height: auto; /* Adjust height based on content */
  width: 100%;
  /* min-height: 50vh;  */
  /* Ensure some minimum height */

  /* Flexbox for alignment */
  display: flex;
  flex-direction: column; /* Stack items vertically */
  /* justify-content: flex-start; */
   /* Align content to the top */
  /* align-items: flex-start;  */
  /* Center horizontally */
  /* padding: 60px; */
  text-align: center;
  align-items: center;
  justify-content: center;
  padding: 20px;
  max-width: 100%;  /* Prevents overflow */
  border-radius: 15px;
  backdrop-filter: blur(10px);
  }
.content-absolute-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  align-content: flex-start;
}

.glassmorphism-box img {
  /* max-width: 100%;
  max-height: 100%; */
  /* max-width: 500px;
  max-height: 500px; */
  max-width: 500px;
  max-height: 500px;
  object-fit: cover;
  /* Ensures the image fills the box without distortion */
  border-radius: 10px;
  /* Optional: Matches the glass effect */
}

.div_background {
  display: flex;

  /* position: relative; */
  /* min-height: fit-content; */
  /* width: 100%; */
  
  /* background-image: url('/docs/images/LayoutSettings_8_DashboardLayoutEdit_2025-01-28_13-19-11.png'); */
  background-size: cover;
  background-position: center;
  background-image: url(/images/Feature1_2025-02-12_16-28-42.png);
  padding: 0px;
  box-sizing: border-box;
}

/* image container */
.image-container-box {
  width: 300px;  /* Adjust as needed */
  height: 200px; /* Adjust as needed */
  overflow: hidden;
}

.image-container-box img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures the image fills the div without distortion */
}

/* Customization of size in rounded-corners-gradient-borders */
.reduced-rounded-gradient-borders {
  width: 10%;
}

/* Customized hovering of rounded-corners-gradient-borders */
.reduced-rounded-corners-gradient-borders-hovering:hover {
  transform: scale(3.1) rotate(0.5deg);
}

/* For multi step layouts for Dashboard features */
.step-container {
  /* max-width: 600px; */
  /*default*/
  max-width: max-content;
  margin: auto;
  text-align: center;
}

/* Main Step */
.main-step {
  background: #007bff;
  padding: 15px;
  color: white;
  text-align: center;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.5s ease;
}

.main-step:hover {
  background: #0056b3;
}

/* Sub-Steps */
.sub-step {
  background: #f8f9fa;
  padding: 10px;
  margin-top: 10px;
  border-left: 4px solid #007bff;
  border-radius: 5px;
  text-align: left;
  padding-left: 20px;
}

.hidden {
  display: none;
}

/* Buttons */
.step-buttons {
  /* margin-top: 10px; */
  display: none;
  /* Hide all buttons by default */
}

.toggle-btn,
.close-btn {
  background: #007bff;
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
  border-radius: 5px;
  width: 120px;
}

.close-btn {
  background: #dc3545;
}

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

.close-btn:hover {
  background: #c82333;
}

/* For Dashboard-Creation vid-doc layout */
.dashboarditemslayout {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
}

.dashboarditemslayout-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.close {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 24px;
  cursor: pointer;
  background-color: red;
  width: 30px;
  text-align: center;
  border-style: outset;
  border-color: maroon;
  opacity: 0; /* Hide initially */
  transition: opacity 0.3s ease-in-out;
}

.dashboarditemslayout-content:hover .close {
  opacity: 1;
}

/* For content inside rounder corner layout in dashboard-creation page */
.rounded-box {
  display: flex; /* Align items in a row */
  align-items: center; /* Vertically align icons and text */
  align-content: center;
  gap: 16px; /* Add space between elements */
  padding: 8px;
  border-radius: 12px;
  background: transparent;
  position: relative;
  color: #ffffff;
  width: auto;
}

/* Gradient border effect */
.rounded-box::before {
  content: "";
  position: absolute;
  align-items: center; 
  align-content: center;
  top: -2px; left: -2px;
  right: -2px; bottom: -2px;
  border-radius: 12px;
  padding: 2px;
  background: linear-gradient(135deg, #0398fc, #035efc);
  -webkit-mask: linear-gradient(white 0 0) content-box, linear-gradient(white 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* Adjust icon sizes */
.icon {
  font-size: 30px;
  width: 40px;
}

/* Style links to inherit from the div */
.rounded-link {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #ffffff !important; /* Inherit color from .rounded-box */
  font-size: inherit;
  font-weight: inherit;
}

/* Icon styles */
.rounded-link i {
  font-size: 50px;
}

/* Hover effect */
.rounded-link:hover {
  opacity: 0.8;
}

/* Feature box */
.feature-box {
  position: relative;
  display: inline-block;
  width: auto;
  max-width: 90%;
  padding: 20px;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  color: #fff;
  border-radius: 10px;
  overflow: hidden;

  background: transparent;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(5px);
}

.feature-box::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: url('/images/DashboardFetures_HeaderBackground_2025-03-03_17-40-14.png');
  background-size: cover;
  background-position: center;
  opacity: 0.3; /* adjust this to control visibility */
  z-index: 0;
}


  /* Hover effect */
  .feature-box:hover {
    transform: scale(1.05);
  }

  .glassmorphism-msg-box {
    position: relative;
    background: rgba(123, 179, 248, 0.2);
    box-shadow: 0 5px 30px 0 rgba(31, 38, 135, 0.37);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    width: 100%;
    max-width: 100%;
    /* height: fit-content; */
    padding: 20px;
    font-weight: bold;
    font-size: 0.8rem;
    padding-top: 0%;
    margin-bottom: 5%;
  }

  .glassmorphism-msg-box p {
    color: rgb(0, 0, 0);
    display: flex;
    align-items: center;
    /* margin: 0;  */
    /* Remove default margin */
    margin-bottom: 0%;
    padding-left: 20px;
  }
  
  .custom-icon {
    transform: scale(0.5); /* Adjust to your need */
    display: inline-block; /* Ensures proper scaling */
    height: 100px;
    width: 100px;
    vertical-align: auto; /* Aligns with text */
    margin-right: 8px; /* Adds space between icon and text */
    margin: 0%;
    font-size: 1.5rem; /* Adjust size */
    }

  .content-container {
    display: flex;
    flex-direction: column; /* Ensures paragraphs stack */
    gap: 10px; /* Adds spacing between lines */
    margin-top: 0%;
    margin-bottom: 0%;
  }

  .arrow {
    color: red; /* Sets arrow color to red */
    font-size: 30px; /* Sets arrow size */
    font-weight: bold; /* Makes the arrow bold */ 
    /* align-content: center; */
    /* vertical-align: middle; */
    display: inline-block;
    line-height: 100%;
    background: rgba(84, 153, 238, 0.2);
    box-shadow: 0 5px 30px 0 rgba(31, 38, 135, 0.37);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 10px 20px;
    padding-left: 5%;
  }

  .arrow strong {
    color: rgb(0, 0, 0); /* Sets arrow color to red */
    font-size: 20px; /* Sets arrow size */
    font-weight: bold; /* Makes the arrow bold */ 
  }

  .animated-hand {
    display: inline-block;
    animation: bounceDown 1s infinite;
  }
  
  @keyframes bounceDown {
    0%   { transform: translateY(0); }
    50%  { transform: translateY(8px); }
    100% { transform: translateY(0); }
  }
