/*
 * common_newui.css
 * Optimized UI styles based on common.css for a modern, sci-fi, light theme.
 */

.messager {
  position: fixed;
  z-index: 99999;
  max-width: 80%;
  padding-right: 50px;
  color: #333; /* Dark text */
  background-color: rgba(255, 255, 255, 0.9); /* Semi-transparent white background */
  border-radius: 8px; /* Slightly rounded corners */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); /* Subtle shadow */
  backdrop-filter: blur(5px); /* Add slight blur */
}
.messager.top {
  top: 20px;
}
.messager.top-left {
  top: 20px;
  left: 20px;
}
.messager.top-right {
  top: 20px;
  right: 20px;
}
.messager.bottom {
  bottom: 20px;
}
.messager.bottom-left {
  bottom: 20px;
  left: 20px;
}
.messager.bottom-right {
  right: 20px;
  bottom: 20px;
}
.messager-content {
  padding: 10px 20px;
}
.messager-content > [class^='icon-'] {
  display: inline-block;
  margin-right: 8px;
  color: #007bff; /* Vibrant blue icon color */
}
.messager-actions {
  position: absolute;
  top: 8px; /* Adjusted position */
  right: 10px; /* Adjusted position */
}
.messager-actions > .action {
  color: #666; /* Dark grey color */
  text-shadow: none;
  background: none;
  border: none;
  font-size: 1.1em; /* Slightly larger */
  transition: color 0.3s ease-in-out;
}
.messager-actions > .action.close {
  font-size: 20px;
  font-weight: normal;
  opacity: 0.7; /* Slightly less opaque */
}
.messager-actions > .action:hover {
  color: #333; /* Darker grey on hover */
}
/* Adjust colors for different message types */
.messager-primary {
  background-color: rgba(0, 123, 255, 0.9); /* Vibrant blue with transparency */
  color: #fff; /* White text */
}
.messager-success {
  background-color: rgba(40, 167, 69, 0.9); /* Green with transparency */
   color: #fff; /* White text */
}
.messager-info {
  background-color: rgba(23, 162, 184, 0.9); /* Teal with transparency */
   color: #fff; /* White text */
}
.messager-warning {
  background-color: rgba(255, 193, 7, 0.9); /* Yellow with transparency */
   color: #333; /* Dark text */
}
.messager-danger {
  background-color: rgba(220, 53, 69, 0.9); /* Red with transparency */
   color: #fff; /* White text */
}
.messager-important {
  background-color: rgba(108, 117, 125, 0.9); /* Grey with transparency */
   color: #fff; /* White text */
}
.messager-special {
  background-color: rgba(111, 66, 193, 0.9); /* Purple with transparency */
   color: #fff; /* White text */
}
.margin-top{
  margin-top:15px;
}

/* Right Side Fixed Button */
.right-side{
    position: fixed;
    right: 20px; /* Adjusted position */
    bottom: 90px; /* Adjusted position */
    width: 50px; /* Adjusted size */
    z-index: 1000000;
}
.right-side .btn{
    position: relative;
    width: 50px; /* Adjusted size */
    height: 50px; /* Adjusted size */
    margin-bottom: 10px; /* Increased space between buttons */
    line-height: 50px; /* Center icon vertically */
    text-align: center;
    padding: 0px;
    border-radius: 50%; /* Circular button */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); /* Subtle shadow */
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}
.right-side .btn:hover {
    transform: translateY(-3px); /* Lift effect */
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2); /* More pronounced shadow */
}
.right-side .btn i{
    font-size: 24px; /* Adjusted icon size */
    color: #fff; /* White icon color */
}
.right-side .btn .badge{
    position: absolute;
    left: -8px; /* Adjusted position */
    top: -8px; /* Adjusted position */
    background-color: #dc3545; /* Red badge */
    color: #fff; /* White text */
    border-radius: 50%;
    padding: 5px; /* Adjusted padding */
    font-size: 0.7em; /* Smaller font size */
} 