

/* 
CONTROLS THE PASSWORD ENTRY
*/
.password-button{
    margin-top:50%;
    justify-content: center;
    display:flex;
    margin-left:auto;
    margin-right:auto;
    width:75%;
    cursor:pointer;
    min-width: 130px;

}

.password-button img {
    height:auto;
    width:100%;
}

/* --- 90s WINDOWS DIALOGUE STYLES --- */
/* The Modal Overlay (background) - Kept mostly the same */
.modal-overlay {
    display: none; 
    position: fixed; 
    z-index: 20; 
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.6); 
    justify-content: center;
    align-items: center;
}

.window-body {
    -webkit-font-smoothing: none;
    -moz-osx-font-smoothing: grayscale;
    font-smooth: never;    background-color: #c0c0c0;
    border: 2px solid #fff;
    border-right: 2px solid #000;
    border-bottom: 2px solid #000;
    box-shadow: 2px 2px 0 #808080;
    padding: 0; 
    border-radius: 0;
    max-width: 90%;
    min-width: 300px;
    position: relative;
    
    /* MODIFIED LINES BELOW */
    animation-name: windowPop;
    animation-duration: 0.1s; /* Very fast for that "snap" feel */
    animation-timing-function: ease-out;
}

/* Title Bar */
.title-bar {
    background-color: #000080; /* Dark Blue */
    color: white;
    padding: 3px 6px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0; /* No margin below title bar */
}

.title-bar-text {
    font-weight: bold;
    font-family: Arial, sans-serif; 
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Close Button in Title Bar */
.close-button {
    color: black;
    background-color: #c0c0c0;
    border: 1px solid #fff;
    border-right: 1px solid #000;
    border-bottom: 1px solid #000;
    width: 18px;
    height: 18px;
    line-height: 12px;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    padding: 0;
    position: static; 
    float: none;
    box-shadow: inset -1px -1px 0 #404040; /* Inner shadow for depth */
    cursor: pointer;
}
.close-button:active {
    border: 1px solid #000; /* Simulate press down */
    border-right: 1px solid #fff;
    border-bottom: 1px solid #fff;
}

/* Inner Content Area for padding */
.dialog-content {
    padding: 20px;
    text-align: center; /* Center buttons and input */
    color: black;
}

/* Input Field */
.input-field {
    background-color: white;
    border: 1px solid #000;
    box-shadow: inset 1px 1px 0 #808080, inset -1px -1px 0 #ffffff; /* Inset look */
    padding: 3px 5px;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    width: 100%;
    box-sizing: border-box;
    color: black;
}

/* Submit Button Style */
.submit-button {
    background-color: #c0c0c0; /* Gray button face */
    color: black;
    border: 1px solid #fff; /* 3D effect */
    border-right: 1px solid #000;
    border-bottom: 1px solid #000;
    padding: 4px 12px;
    font-weight: normal;
    margin-top: 10px;
    transition: none;
    box-shadow: inset -1px -1px 0 #404040; /* Inner shadow for depth */
}
.submit-button:hover {
    background-color: #d0d0d0; /* Slight hover change */
}
.submit-button:active {
    /* Simulate click effect: borders flip */
    border: 1px solid #000;
    border-right: 1px solid #fff;
    border-bottom: 1px solid #fff;
    box-shadow: none;
    padding: 5px 13px 3px 11px; /* Adjust padding to visually shift down/right */
}

@keyframes windowPop {
    0% {
        transform: scale(0.5); /* Start smaller */
        opacity: 0;
    }
    100% {
        transform: scale(1); /* End at full size */
        opacity: 1;
    }
}