/* Toast CSS generated by ChatGPT */
#toast-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    z-index: 9999;
}

/* Base Toast Styling */
.toast {
    background-color: #333;
    color: white;
    padding: 15px;
    margin-top: 10px;
    border-radius: 5px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateY(100px);
    transition: transform 1s ease, opacity 1s ease;
    max-width: 600px;
    word-wrap: break-word;
}

/* Show animation */
.toast.show {
    opacity: 1;
    transform: translateY(0);
}

/* Toast content styling */
.toast-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Close button styling */
.toast .close-btn {
    background: none;
    border: none;
    color: white;
    font-size: 16px;
    cursor: pointer;
    padding: 5px;
    margin-left: 15px;
}

.toast .close-btn:hover {
    color: #ccc;
}

/* Action button container */
.toast .action-container {
    display: flex;
    justify-content: flex-end;
    margin-top: 10px;
}

.toast .action-btn {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    padding: 8px 15px;
    border-radius: 5px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.toast .action-btn:hover {
    background-color: rgba(255, 255, 255, 0.2); /* Lighter background on hover */
    color: #ffffff; /* Keep the text white on hover */
}

/* Info Toast Styling */
.toast-info {
    background-color: #1976d2; /* Light Blue */
    color: white;
}

/* Error Toast Styling */
.toast-error {
    background-color: #e74c3c; /* Light Red */
    color: white;
}
/* End Toast CSS */

.overlay-background {
    width: 100vw;
    height: 100vh;
    z-index: 10;
    position: absolute;
    top: 0;
    display: flex;
    background-color: #d3d3d3aa;
    align-items: center;
    justify-content: center;
}

.overlay-content {
    width: 350px;
    background-color: white;
    padding: 20px;
    border-radius: 20px;
}

.overlay-instructions {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.overlay-input {
    width: calc(100% - 14px);
    height: 20px;
    font-size: 18px;
    padding: 5px;
    margin: 10px 0;
}

.overlay-btn-container {
    float: right;
}

.overlay-btn-container button, .fancy-btn {
    margin-left: 10px;
    background-color: white;
    color: #1976d2;
    border: 1px solid #1976d2;
    padding: 10px 15px;
    font-size: 12px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    height: 38px;
}

.overlay-btn-container button:hover, .fancy-btn:hover {
    background-color: #2980b9;
    color: white;
}

.btn-red {
    color: red !important;
    border: 1px solid red !important;
}

.btn-red:hover {
    background-color: red !important;
    color: white !important;
}
