/* styles.css */

#popup-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: auto; /* Ensure interactions are enabled */
    z-index: 1000; /* Ensure it's on top of other elements */
    display: flex;
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
    overflow: hidden; /* Hide overflow */
}

.popup {
    position: relative; /* Ensure positioning inside the container */
    background: white; /* Light gray background */
    border: 1px solid black; /* Light gray border */
    border-radius: 4px; /* Rounded corners */
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2); /* Subtle shadow */
    transition: transform 0.3s ease, opacity 0.3s ease; /* Smooth animations */
    opacity: 0;
    transform: scale(0.95); /* Initial scale for animation */
    max-width: 90%; /* Responsive width */
    max-height: 90%; /* Responsive height */
}

/* Show popups */
.popup.show {
    opacity: 1;
    transform: scale(1);
}

/* Centered popup */
.center-popup {
    width: 600px; /* Adjust width as needed */
    height: 500px; /* Adjust height as needed */
    /* Center horizontally and vertically */
    position: absolute;
    top: 20%;
    left: 20%;
    transform: translate(-50%, -50%); /* Center popup */
    z-index: 1010; /* Ensure it's on top of other elements */
}

/* Right popup */
.right-popup {
    width: 545px; /* Adjust width as needed */
    height: 530px; /* Adjust height as needed */
    position: absolute;
    right: 40px; /* Distance from the right edge */
    top: 20px; /* Distance from the top edge */
}

/* Popup header */
.popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white; /* Windows-style blue background */
    color: black; /* White text */
    padding: 10px;
    border-radius: 4px 4px 0 0; /* Rounded top corners */
}

/* Popup title */
.popup-header h3 {
    margin: 0;
    font-size: 16px;
    width: 100%;
}

/* Close button */
.popup-header .close-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
}

.popup-header .close-btn:hover {
    color: #ffeb3b; /* Highlight color */
}

/* Popup body */
.popup-body {
    padding: 10px;
    background: #fff; /* White background for content area */
}

/* Buttons and links */
.popup-body button, .popup-body a {
    display: inline-block;
    padding: 8px 16px;
    margin-top: 10px;
    background: #0078d4; /* Blue button background */
    color: #fff;
    text-align: center;
    text-decoration: none;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}


.popup-body a {
    background: transparent;
    color: #0078d4; /* Blue link color */
}

.popup-body a:hover {
    color: #005a9e; /* Darker blue on hover */
}

#btn{
    margin-top: 20px;
}

#btn1{
    display: inline;
    margin-right: 10px;
}

#btn3{
    padding: 10px;
    background-color: #0078d4;
    border-radius: 10px;
    color: white;
    float: right;
}

#input{
    display: flex;
    flex-direction: column;
    padding-top: 10px;
}

#input1{
    margin-bottom: 20px;
    height: 30px;
    border-radius: 10px;
}

#input2{
    height: 30px;
    border-radius: 10px;
}

#vidWarning{
    background-color: #ffeb3b;
    padding: 3px;
    margin-bottom: 20px;
    text-align: center;
    border-radius: 10px;
}
