/* General */
* {
    box-sizing: border-box;
}
/* BODY */
body {
    display: flex;
    flex-direction: column;

    justify-content: center;
    align-items: center;
    
    min-height: 100vh;
        
    margin: 0;
    padding: 0;

    font-family: 'Poppings', sans-serif;
    letter-spacing: 0.5px;
}

/* Container */
.container {
    width: 100%;

    display: flex;

    justify-content: center;

    padding: 0;

    height: 100vh;

    background-color: #824100;
}
.inside-container {
    width: 320px;
    height: 100vh;

    display: flex;
    flex-direction: column;

    justify-content: center;

    padding: 0;

    background-color: #824100;
}

/* Login container */
.login-container {
    background-color: #F2F2F2;
    
    flex: 1;
    
    padding: 30px;
    
    border-radius: 20px 20px 0 0;
    
    display: flex;
    flex-direction: column;

    align-items: flex-start;
}

/* Headings */
h1 {
    color: #F2F2F2;

    font-size: 24px;

    margin-top: 50px;
    margin-bottom: 50px;

    text-align: center;
}
h2 {
    color: #333333;

    font-size: 20px;

    margin-bottom: 5px;

    font-weight: bold;

    text-align: left;
}

/* Paragraph */
p {
    color: #666666;
    font-size: 14px;

    margin: 0;
    margin-bottom: 36px;
    
    text-align: left;
}
#logout-text {
    margin-bottom: 24px;
}

/* Form */
form {
    width: 260px;
}

/* Input */
.input-field {
    width: 100%;
    height: 40px;

    padding: 10px;
    margin-bottom: 15px;
    
    font-size: 12px;
    
    border: none;
    border-radius: 8px;
    
    background-color: #E8E8E8;
    color: #333333;
    
    outline: none;
}
/* Button */
.login-button {
    width: 100%;
    height: 30px;

    padding: 0px;

    font-size: 16px;
    font-weight: bold;

    color: #F2F2F2;
    background-color: #824100;

    border: none;
    border-radius: 8px;

    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.2);
    transition: all 0.1s ease;

    cursor: pointer;

    margin-top: 20px;
}
.login-button:hover {
    background-color: #582c00;
}
.login-button:active {
    box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.2); 
    transform: translateY(2px); 
}

#no-button {
    background-color: #333333;
    margin-top: 10px
}
#yes-button {
    margin-top: 0;
}

/* Link at the bottom */
.return-to-home-page {
    width: 320px;
    height: 20px;

    display: flex;

    justify-content: center;
    align-items: center;

    position: fixed;
    bottom: 20px;
}
.return-to-home-page > a {
    color: #824100;
    
    margin: 0;

    text-decoration: underline;

    font-size: 12px;
    font-weight: 500;
}

/* Popup Overlay */
.popup-overlay {
    position: fixed;

    top: 0;
    left: 0;
    
    width: 100%;
    height: 100%;
    
    background-color: rgba(0, 0, 0, 0.25); 
    
    z-index: 999; 
    
    display: none; 
}
/* Popup Notification */
.popup-notification {
    position: fixed;

    top: 50%;
    left: 50%;
    
    transform: translate(-50%, -50%);
    
    width: 280px;
    
    padding: 15px;
    
    text-align: center;

    color: #ffffff;
    background-color: #F2F2F2;

    display: none;
    flex-direction: column;

    justify-content: center;

    gap: 12px;

    border-radius: 10px;

    font-family: 'Poppins', sans-serif;

    z-index: 1000;
}
.popup-notification > h3 {
    color: #333333;

    text-align: left;
    font-size: 18px;

    margin-top: 10px;
    margin-bottom: 0;
}
.popup-notification > p {
    font-size: 14px;

    margin-bottom: 30px;
}
.popup-notification.failure > p {
    margin-bottom: 12px;
}

/* Success Styling */
.popup-notification.success > h3 {
    color: #2cb403;
}
/* Failure Styling */
.popup-notification.failure  > h3 {
    color: #b40303;
}
/* Retry Button Styling */
#retryButton {
    padding: 10px 20px;

    color: #ffffff;
    background-color: #721c24;
    
    border: none;
    border-radius: 5px;
    
    cursor: pointer;
    
    font-size: 14px;
}
#retryButton:hover {
    background-color: #501418;
}

/* Animation */
.show {
    display: flex;
    opacity: 1;
}
.show-overlay {
    display: block; 
}
