.modal-dialog-centered {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .modal-dialog {
    margin: 30px auto;
  }

.admin-preview-image {
    height: auto; /* Maintains aspect ratio */
    max-height: 200px; /* Adjust the max height as needed */
}

.nav-tabs .nav-link {
    color: black; /* Set text color to black */
}

.nav-tabs .nav-link.active {
    background-color: #ffffff; /* Ensure the active tab has a solid background */
    opacity: 1; /* Full opacity for the active tab */
}

.nav-tabs .nav-link:not(.active) {
    opacity: 0.5; /* Make inactive tabs more transparent */
}

.nav-tabs .nav-link:hover {
    opacity: 0.75; /* Slightly increase opacity on hover for better user experience */
    color: black; /* Set text color to black */
}


/* Gallery view styles */
#gallery-view .gallery-item {
    position: relative;
    margin-bottom: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smooth transition for hover effects */
}

/* Hover effect for the gallery item */
#gallery-view .gallery-item:hover {
    transform: scale(1.05); /* Slightly enlarge on hover */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Add subtle shadow */
}

/* Ensure links don't have default underline */
a {
    text-decoration: none !important;
    color: inherit !important; /* Inherit color to ensure no blue lines */
}

/* Image styles */
#gallery-view .gallery-item img {
    width: 100%;
    height: auto;
    border: 1px solid #ddd;
    padding: 5px;
    transition: opacity 0.3s ease; /* Smooth transition for hover effect */
}

/* Hover effect for the image */
#gallery-view .gallery-item:hover img {
    opacity: 0.95; /* Slightly dim the image on hover */
}

/* Status label styling */
#gallery-view .gallery-item .status-label {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: #ffb700; 
    color: #fff;
    padding: 5px 10px;
    font-size: 14px;
    border-radius: 4px;
}

/* Box style for the student ID */
#gallery-view .gallery-item .student-id {
    text-align: center;         /* Center the text */
    margin-top: 5px;            /* Add margin to the top */
    color: rgba(0, 0, 0, 0.7);  /* Set text color with transparency */
    font-size: 1.2em;           /* Increase font size slightly for better readability */
    padding: 20px;              /* Padding for the box */
    border-radius: 5px;         /* Rounded corners */
    background-color: rgba(255, 255, 255, 0.8); /* Light background */
    border: 1px solid rgba(0, 0, 0, 0.1); /* Subtle border */
    margin: 10px;               /* Margin for spacing */
}



.step {
    padding-left:1.5em;
    padding-right:1.5em;
}


/* Gray box */
.graybox {
    background-color: #E7EBEF; /* Gray background color */
    padding: 20px; /* Padding around the content */
    border-radius: 5px; /* Rounded corners */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* Box shadow for depth */
}

/* Headings */
.guidelines h2 {
    font-size: 1.5rem; /* Equivalent to 24px */
    margin-bottom: 1rem; /* Equivalent to 10px */
}

/* Unordered list */
.guidelines ul {
    padding-left: 1.25rem; /* Equivalent to 20px */
}

/* List items */
.guidelines ul li {
    margin-bottom: 0.625rem; /* Equivalent to 10px */
}

/* Bold and blue text */
.bold-blue {
    font-weight: bold;
    color: #015E85;
}

/* Red text */
.red {
    color : #F83B3C;
}

/* Style for the read more button */
.read-more-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 14px;
    color: black;
    outline: none;
    display: flex;
    justify-content: center; /* Horizontally center the button */
    align-items: center; /* Vertically center the button */
}

.field-wrapper {
    position: relative;
    margin-bottom: 15px;
}

.input-group {
    position: relative; /* Add this if not already present */
    z-index: 1; /* Ensures input group is lower in the stacking order */
}

.field-wrapper input:focus + .field-placeholder,
.field-wrapper input:valid + .field-placeholder {
    z-index: 2; /* Ensures label is above the input field on focus */
    /* Your existing transformation and styling for floating */
}

.field-wrapper input {
    border: 1px solid #DADCE0;
    padding: 15px;
    border-radius: 4px;
    width: 100%;
}

.field-wrapper input:focus {
    border: 1px solid #1A73E8;
}

.field-wrapper .field-placeholder {
    position: absolute;
    font-size: 16px;
                -webkit-box-sizing: border-box;
    box-sizing: border-box;
    color: #6F6C99;
    background-color: #FFFFFF;
    margin-top: 0;
    margin-left: 2em;
    padding: 0 1em;
    z-index: 2;
    text-align: left;
    transform: scale(.75) translateY(-5.75em) translateX(-2em);
    background-color: #fff;
}

.field-wrapper .field-placeholder span {
    background: #ffffff;
    padding: 0px 8px;
}

.field-wrapper input:not([disabled]):focus~.field-placeholder {
    color: #6F6C99;
}

.nextButton {
    background-color: #EE9A0F;
    border-radius: 20px;
    font-weight: bold;
    width: 20%;
    padding: 10px;
    border: 0;
}

.readonly label {
    color: #6F6C99;
    font-size: 12px;
}

.upload-photo, .processed-photo {
    /* display: flex;
    align-items:flex-start;
    width: 289px; */
    /* height: 354px; */
}

.preview-container {
    position: relative;
    display: inline-block; /* Ensures the container fits the size of the image */
}

.preview-container .frame-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Ensures the frame is centered exactly */
    max-width: 100%; /* Ensures the frame scales with the container */
    max-height: 100%; /* Ensures the frame scales with the container */
    pointer-events: none; /* Makes the frame non-interactive */
    opacity: 0.5;
}

.cropper-face {
    opacity: 1 !important;
    background: none !important;
    background-image: url('../../static/images/face-frame-yellow.png') !important;
    background-size: 100% 100% !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    mix-blend-mode: multiply !important;
}

.video-container {
    position: relative;
    display: inline-block; /* Keeps the container inline but allows setting of dimensions */
}

.frame-overlay-video {
    position: absolute;
    width: 289px !important; /* Width of the video player and container */
    height: 354px; /* Match the height of the video player */
    transform: translate(-50%, -57%); /* Center the frame - adjust if necessary */
    top: 50%;
    left: 50%;
    pointer-events: none; /* Allow clicks to pass through to the video */
    opacity: 0.5; /* Adjust opacity as needed */
}

.video-player {
    width: 289px !important; /* Width of the video player and container */
    height: 354px; /* Fill the height of the container */
    object-fit: cover; /* Keeps the aspect ratio of the video content */
}

.upload-container {
    flex: 1;
    text-align: center;
}

.save-button {
    background-color: #EE9A0F;
    border-radius: 20px;
    font-weight: bold;
    width: 20%;
    padding: 10px;
    border: 0;
}

.purple-button {
    cursor: pointer;
    display: inline-block;
    background-color: #C2BFE2;
    border-radius: 20px;
    width: 160px;
    padding: 10px;
    border: 0;
    
}
#toast-container .toast-success {
    background-color: #51a351; /* Green */
}

#toast-container .toast-error {
    background-color: #bd362f; /* Red */
}

#toast-container .toast-info {
    background-color: rgb(47, 104, 189); /* Red */
}

#toast-container .toast-warning {
    background-color: rgb(189, 158, 47); /* Red */
}

.transparent-button {
    background-color: transparent;
    background-repeat: no-repeat;
    border: none;
    cursor: pointer;
    overflow: hidden;
    outline: none;
    border: none;
}

#removePhotoButton {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    padding-left: 20px;
    padding-top: 10px;
}

.back-button {
    margin-top: 50px;
    margin-left: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
}

.back-button:hover {
    text-decoration: underline;
}

.icon-text .icon {
    margin-right: 10px;
    font-size: 18px;
    -webkit-text-stroke: 1px;
}



.fade-enter-active, .fade-leave-active {
    transition: opacity 200ms ease;
}

.fade-enter-from, .fade-leave-to {
    opacity: 0;
}

.fade-enter-to, .fade-leave-from {
    opacity: 1;
}


.image-container {
    width: 300px; /* Adjust as needed */
    height: 200px; /* Adjust as needed */
    display: inline-block; /* Keep them side-by-side */
    text-align: center;
}

.image-container img {
    max-height: 100%; /* Ensures the image fits within the div's height */
}
