.modalOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    /* High z-index to be on top of everything */
}

.modalContent {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    width: 90%;
    max-width: 400px;
    color: #333;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    text-align: center;
    position: relative;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.heroIcon {
    font-size: 48px;
    color: #0088cc;
    margin-bottom: 15px;
}

.title {
    margin-top: 0;
    color: #2c3e50;
    font-size: 22px;
    font-weight: 600;
}

.description {
    color: #7f8c8d;
    margin-bottom: 25px;
    font-size: 14px;
    line-height: 1.5;
}

.generateBtn {
    background: #0088cc;
    color: white;
    border: none;
    padding: 12px 25px;
    font-size: 16px;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s;
    width: 100%;
    font-weight: 500;
}

.generateBtn:hover {
    background: #0077b3;
}

.generateBtn:disabled {
    background: #95a5a6;
    cursor: not-allowed;
}

.codeSection {
    background: #f8f9fa;
    border: 2px dashed #bdc3c7;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
}

.codeLabel {
    font-size: 12px;
    text-transform: uppercase;
    color: #7f8c8d;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.codeDisplay {
    font-size: 32px;
    font-weight: 700;
    color: #2c3e50;
    letter-spacing: 5px;
    font-family: 'Courier New', monospace;
    margin: 10px 0;
}

.instructions {
    text-align: left;
    margin-top: 15px;
    font-size: 14px;
    background: #eef2f3;
    padding: 10px;
    border-radius: 6px;
}

.instructions p {
    margin: 5px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.link {
    color: #0088cc;
    text-decoration: none;
    font-weight: 600;
}

.closeBtn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: transparent;
    border: none;
    font-size: 20px;
    color: #95a5a6;
    cursor: pointer;
}

.closeBtn:hover {
    color: #7f8c8d;
}