@charset "utf-8";
/* CSS Document */

/* Error message styling */
.error-message {
    color: #e74c3c;
    font-size: 13px;
    margin-top: 5px;
    display: none;
}

/* ===== Modal Styles ===== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    width: 90%;
    max-width: 400px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.modal-icon {
    font-size: 40px;
    margin-bottom: 20px;
    color: #4CAF50;
}

.modal-message {
    font-size: 16px;
    margin-bottom: 15px;
    color: #333;
    line-height: 1.5;
}

.new-password {
    background-color: #f5f5f5;
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 25px;
    font-family: 'Courier New', monospace;
    font-size: 18px;
    text-align: center;
    word-break: break-all;
    border: 1px solid #ddd;
}

.modal-button {
    width: 100%;
    padding: 16px;
    background-color: #000;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 17px;
    cursor: pointer;
    transition: opacity 0.3s;
    margin-top: 10px;
    height: 54px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.modal-button:hover {
    opacity: 0.8;
}

/* ===== Responsive Styles ===== */
@media only screen and (max-width: 768px) {

    .modal-content {
        padding: 25px 20px;
    }

    .modal-message {
        font-size: 15px;
    }

}