/*
Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
Click nbfs://nbhost/SystemFileSystem/Templates/JSP_Servlet/CascadeStyleSheet.css to edit this template
*/
/* 
    Created on : Oct 16, 2024, 11:32:38 AM
    Author     : samarita
*/
/* Styling the dialog element */
dialog {
    width: 90%;
    height: 90%;
    border: none;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}
dialog::backdrop {
    background-color: rgba(0, 0, 0, 0.7);
}
iframe {
    width: 100%;
    height: 100%;
    border: none;
}
.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    background-color: black;
    color: white;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
}
/*        .popover {
      position: absolute;
      background-color: #fff;
      border: 1px solid #ccc;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
      padding: 10px;
      max-width: 300px;
      z-index: 999;
      display: none;
    }*/
/* Popover styling */
/* Popover styling */
.popover {
    position: absolute;
    background-color: #fff;
    border-radius: 8px; /* Rounded corners */
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2); /* Subtle shadow */
    padding: 15px;
    max-width: 300px;
    z-index: 999;
    display: none; /* Initially hidden */
    opacity: 0; /* Initial hidden state */
    transform: scale(0.9); /* Slightly scaled down */
    transition: opacity 0.3s ease, transform 0.3s ease; /* Smooth fade-in and scale effect */
}

/* When popover is visible */
.popover.visible {
    opacity: 1;
    transform: scale(1);
    display: block; /* Set to block when visible */
}

/* Content inside the popover */
.popover h3 {
    margin: 0;
    font-size: 1.2em;
    color: #333;
    /*    background-color: rgb(207, 226, 255);*/
    /*    background-color: #0088CC;*/
    background-color: #0070A8;
    color: white;
    text-transform: none;

}

.popover p {
    font-size: 0.9em;
    /*    color: #666;*/
    color:black;
    line-height: 1.6;
}

/* A little arrow to indicate the direction of the popover */
.popover::after {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #fff;
    top: 50%;
    left: -10px;
    transform: translateY(-50%);
}
/* New class to reduce indentation */
.reduce-indent {
    padding-left: 0 !important;  /* Reset to minimal padding for mobile */
    padding-right: 0 !important; /* Reset to minimal padding for mobile */
    margin-left: 0 !important;   /* Reset to minimal margin for mobile */
    margin-right: 0 !important;  /* Reset to minimal margin for mobile */
}

.hidden {
    display: none;
}
/* Default for desktop */
.figure-img {
    max-width: 300px;
    /*margin: 0 auto;  centers it */
}

/* For tablets and smaller screens */
@media (max-width: 768px) {
    .figure-img{
        max-width: 90%;
    }
}

/* For very small mobile screens */
@media (max-width: 480px) {
    .figure-img{
        max-width: 95%;
    }
}